Rasterman
2007.09.28, 05:36 PM
I have an xcode project, and have added Cocoa, GLUT, OpenGL, QuickTime, Carbon, CoreServices, and ApplicationServices frameworks. When I include <GLUT/glut.h> xcode cannot find <GL/gl.h> and <GL/glu.h> which are on lines 137 and 138 in glut.h. I must have something configured wrong in xcode?
When I include <OpenGL/gl.h> and <OpenGL/glu.h> directly above <GLUT/glut.h> in my main program it finds them fine, but I still get the error as I need glut as well, should I just create a whole new project, or does anyone have any ideas how to fix this?
(I also tried adding the gl.h path directly to my "User Header Search Path" project setting, but that didn't help.)
When I include <OpenGL/gl.h> and <OpenGL/glu.h> directly above <GLUT/glut.h> in my main program it finds them fine, but I still get the error as I need glut as well, should I just create a whole new project, or does anyone have any ideas how to fix this?
(I also tried adding the gl.h path directly to my "User Header Search Path" project setting, but that didn't help.)