On Wednesday, January 29, 2003, at 09:55 AM, Martin Costabel wrote:
On mercredi, jan 29, 2003, at 17:11 Europe/Paris, Hans Fuchs wrote:
bash-2.05a$ g++3 $CPPFLAGS $LDFLAGS
-L/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ -o
glcube -lclanGL -lclanApp -lclanDisplay -lclanCore -lX11 glcube.cpp
ld: /var/tmp//cc2EpG7D.o illegal reference to symbol: _glBegin
defined in
indirectly referenced dynamic library
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
libGL.dylib
ld: /var/tmp//cc2EpG7D.o illegal reference to symbol: _gluPerspective
defined in indirectly referenced dynamic library
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
libGLU.dylib
This sounds like you need to add explicitly -lGL -lGLU to your command
line.
And maybe -framework OpenGL instead of -L/System/Lib-etc.
-framework OpenGL is the proper answer. :)
-Ben
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users