enjoying salad since 1978.

Thursday, September 19, 2002

google actually failed me this time.

Because I couldn't find this anywhere else:

So if you want to program with OpenGL in OS X without using Objective-C (since we only have the OpenGL and GLUT frameworks), it seems like you're out of luck. Although.. you _can_ use frameworks without using any other Objective-C. Either use Project Builder and add the two appliciable frameworks (under /System/Library/Frameworks) or use the -framework OpenGL -framework GLUT gcc options from the command-line. Don't forget, this is now #import <GLUT/glut.h> and not #include <GL/glut.h> as you're probably used to.

Happy Hacking!

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home