Mailing Lists: Apple Mailing Lists

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

Re: Where is the Mac OS X glut include dir, and the glut lib dir?



> What is the Mac OS X 10.3 equivalent location for 
> --with-glut-include-dir=/usr/include/GL?
> Is it 
>--with-glut-include-dir=/System/Library/Frameworks/GLUT.framework/Versions/A/Headers?

That will probably work. I think
/System/Library/Frameworks/GLUT.framework/Headers
will also work (it's sym-linked).

> 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
(I guess to be pedantic, it might be
gcc testproc.c -F /System/Library/Frameworks -framework GLUT)

You'll probably need to adject your build system to recognize this
platform difference.

There was a similar/related topic thread this past week. You should
check the archives.
http://lists.apple.com/archives/mac-opengl/2005/Apr/msg00115.html
http://lists.apple.com/archives/mac-opengl/2005/Apr/msg00124.html

-Eric
 _______________________________________________
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



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.