Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Where is the Mac OS X glut lib dir?



Thanks for the helpful response. I am now doing, as suggested,
gcc testprog.c -framework GLUT
On the positive side, 21 of the called gl, glu, and glut functions are now resolved.
On the negative side, calls to _glClear and _gluOrtho2D are not be resolved.
Please advise.
Greg



ld: jiv.o illegal reference to symbol: _glClear defined in indirectly referenced dynamic library /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ libGL.dylib
ld: jiv.o illegal reference to symbol: _gluOrtho2D defined in indirectly referenced dynamic library /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ libGLU.dylib



On Apr 28, 2005, at 5:32 AM, E. Wing wrote:
What is the Mac OS X 10.3 equivalent location for --with-glut-lib-dir=/usr/lib?
With OS X Frameworks, the convention is a little different.
Instead of doing something like:
gcc testprog.c -L/usr/lib -lGLUT
with a framework you would do
gcc testprog.c -framework GLUT

_______________________________________________ Do not post admin requests to the list. They will be ignored. Mac-opengl mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden
References: 
 >Re: Where is the Mac OS X glut include dir, and the glut lib dir? (From: "E. Wing" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.