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: using frameworks with cons?



On 10/17/02, tigital wrote:
...I'm trying to port an app that uses 'cons' for it's build
system...also, it uses gtk+ and OpenGL, so I'm trying to get it to
use the OpenGL.framework:  but I don't know how/where to put the
framework path?

...also, since this is going to remain an Xdarwin gl app, should I
even use the OpenGL.framework?  GtkGL is installed via fink; is there
anything else I'm missing?

You should not use OpenGL.framework in generating OpenGL applications to run with XDarwin. If you have a complete XFree86 install all the GL headers should be in /usr/X11R6/include/GL and you should use these instead of those in the OpenGL framework. The corresponding GLX libraries are in /usr/X11R6/lib. You may need additional things to get your app to build, but XFree86 provides all the basic GL stuff.


Aside: The top of the tree of the XFree86 source repository includes hardware accelerated GLX for Mac OS X, which is much faster than XFree86 4.2.x. If you like to live on the cutting edge you can build XFree86 from source and feel the speed.

--Torrey
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.





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.