title: OSX 10.9 - Eclipse, C++, OpenGL, functions not found
body: <p>After countless hours of trying to setup OpenGL on Eclipse, I've managed to include all missing libraries, however it still outputs this error many times:</p>
  
  <pre><code>expected initializer before '__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_9' line 255, external location: /System/Library/Frameworks/OpenGL.framework/Headers/glu.h
  </code></pre>
  
  <p>and also it doesn't recognize any of the glut functions:</p>
  
  <pre><code>'glutInit' was not declared in this scope   /Teste  main.cpp    line 9  C/C++ Problem
  </code></pre>
  
  <p>the code is really simple, just to try initiating glut.</p>
  
  <pre><code>#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( &amp;argc, argv );
      return 0;
  }
  </code></pre>