This is driving me crazy
This is driving me crazy
- Subject: This is driving me crazy
- From: Nicolas Holzschuch <email@hidden>
- Date: Wed, 19 Feb 2003 10:29:49 +0100
So here is the setup :
- I installed Apple X11, version 0.2 I think.
- I am trying to compile the Open Inventor library. Compiling goes OK,
but using any of the compiled binaries gives me:
[ordinateur-de-nicolas-holzschuch:Packages/inventor/lib] holzschu%
/usr/local/bin/ivview
dyld: /usr/local/bin/ivview Undefined symbols:
/usr/local/lib/libInventor.dylib undefined reference to _glBegin
expected to be defined in /usr/X11R6/lib/libGL.1.dylib
/usr/local/lib/libInventor.dylib undefined reference to _glEnd expected
to be defined in /usr/X11R6/lib/libGL.1.dylib
/usr/local/lib/libInventor.dylib undefined reference to _glVertex2fv
expected to be defined in /usr/X11R6/lib/libGL.1.dylib
Trace/BPT trap
[ordinateur-de-nicolas-holzschuch:Packages/inventor/lib] holzschu%
What am I doing wrong? How can glBegin not be defined in libGL.dylib ???
Another one: I dowloaded the package QT3 from
http://www.opendarwin.org/projects/darwinports/en/x11.php. I am now
trying to use it to compile some projects. Actually, the error is the
same if I use the package qthello, available from the same address :
[ordinateur-de-nicolas-holzschuch:Packages/inventor/lib] holzschu%
/usr/local/bin/qthello
dyld: /usr/local/bin/qthello Undefined symbols:
OpenGL undefined reference to _gll_noop expected to be defined in
/usr/X11R6/lib/libGL.dylib
OpenGL undefined reference to _gll_pkey expected to be defined in
/usr/X11R6/lib/libGL.dylib
Trace/BPT trap
[ordinateur-de-nicolas-holzschuch:Packages/inventor/lib] holzschu%
What can I do?
Oh, a final one: compiling the inventor library gives me the following
warning:
[ordinateur-de-nicolas-holzschuch:Packages/inventor/lib] holzschu% make
/usr/bin/libtool -L///usr/local/lib -L../libimage -L../libFL/freetype
-dynamic -all_load -L/usr/local/lib -L/usr/X11R6/lib
libInventor.a -ljpeg -limage -lFL -lfreetype -lX11 -lm -lGLU -lGL -ldl
-liconv -lfreetype -lcc_dynamic -lstdc++ -o libInventor.dylib
ld: for architecture ppc
ld: warning multiple definitions of symbol _glGetColorTableEXT
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
libGL.dylib(gll_api.o) definition of _glGetColorTableEXT
/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of
_glGetColorTableEXT
ld: warning multiple definitions of symbol
_glGetColorTableParameterfvEXT
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
libGL.dylib(gll_api.o) definition of _glGetColorTableParameterfvEXT
/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of
_glGetColorTableParameterfvEXT
ld: warning multiple definitions of symbol
_glGetColorTableParameterivEXT
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
libGL.dylib(gll_api.o) definition of _glGetColorTableParameterivEXT
/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of
_glGetColorTableParameterivEXT
[ordinateur-de-nicolas-holzschuch:Packages/inventor/lib] holzschu%
Is there a reason for the compiler to go fetch
/System/Library/Frameworks/OpenGL.framework/ ?
--
Greetings,
Nicolas Holzschuch
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.