title: Can't include glut.h in NetBeans
body: <p>Ok, I can't really get to use OpenGL in NetBeans.</p>
  
  <p>So I have Cygwin installed and the glut.h file in this path:</p>
  
  <pre><code>C:\cygwin64\usr\include\w32api\GL\glut.h
  </code></pre>
  
  <p>This is the default path where <em>gl.h</em> was, I only added <em>glut.h</em> ...</p>
  
  <p>But when I include it NetBeans say: <em>There are unresolved includes inside GL/glut.h</em> as a warning, and when i run the <em>glutInit(NULL, NULL);</em> function it returns this error:</p>
  
  <pre><code>/cygdrive/c/Users/***/Documents/NetBeansProjects/***/main.cpp:8: undefined reference to `glutInit'
  /cygdrive/c/Users/***/Documents/NetBeansProjects/***/main.cpp:8:(.text+0x18): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `glutInit'
  </code></pre>
  
  <p>Anyone know a solution or a complete tutorial on how to add the entire openGL to NetBeans?</p>