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!


![[Atom Enabled]](http://saladwithsteve.com/valid-atom.png)
0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home