hey all i just got a new macbook pro, 10.5 and would like to port of my linux c++ opengl applications over to the mac. just to make things simple port just an opengl application that just opens a window.
do the glut libraries already come on the system or do i have to get them somehow from somewhere? i found the normal glu and gl.h files in /usr/include. what do i need to change or include in a makefile?
any readings on this anywhere? i appreciate it in advance…
In order to keep your code the same I think that you can make a sub directory in /System/Library/Frameworks/OpenGL.framework/Headers/GL then make symlinks of the header files to that.
yes it is weird that although i have gl.h and glu.h in /usr/X11/include/GL, in my makefile i have -I./usr/X11/include/.
then in my main program i have #include <GL/gl.h> it says that the folder does not exist. so i am wondering what good it does to even have the include references in the makefile?