OSX 10.9 - Eclipse, C++, OpenGL, functions not found -
After countless hours of attempts to set up OpenGL on Eclipse, I have been able to include all the missing libraries, though it still output it. Error many times: Expected starters before
'__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_9' line 255, outer space: / system / library / framework / openGL.framework / headers / glue h
And it also does not recognize any unsightly work:
'glutInit' was not declared in this scope / test main.cpp line 9c / c + problem
This code is really simple, just to try to start diarrhea.
#include & lt; OpenGL / gl.h & gt; # Include & lt; OpenGL / glu.h & gt; # Include & lt; Glut / glut.h & gt; Int main (int argc, char * argv []) {glutInit (and argc, argv); Return 0; }