OpenGL and GLUT in Eclipse on OS X
问题 I have been trying to setup the OpenGL and GLUT libraries in Eclipse, with CDT, on OS X with not very much success. I cannot seem to get eclipse to actually realize where GLUT is. It is currently giving me the error that I have an unresolved inclusion GL/glut.h. Looking around online I found that I should be using the -framework GLUT flag in the gcc linker settings, but this seems ineffective. 回答1: Ok. I got it working in X11. The reason I could only get it working on X11 is because it seems