title: NetBeans with C++ and OpenGL / Freeglut under Windows 7
body: <p>I recently tried to figure out how to use freeglut with NetBeans 7.
  I Google'd a lot and I didn't find a suitable tutorial on how to bind the stuff I need into it.</p>
  
  <p>Currently I have more problem then this:</p>
  
  <p>First one is:
  - freeglut 2.8 => in order to compile it I need MinGW and msys.
  I have both installed but I can't "configure" or "make all" and "make install" freeglut.
  I didn't find an easy-to-read how-to for that task.</p>
  
  <p>Next one:
  - once built, where to put what files into a specific folder?</p>
  
  <p>Last one:
  - Once put the files into corresponding folder, how to use finally freeglut under NetBeans 7 on a C++ project?</p>
  
  <p>I feel like a lack of information on that.</p>
  
  <p>All I found are always answers like:
  download, build, install and done. But I'm already stuck on the "install" and "build".</p>
  
  <p>The solution:
  Close NetBeans.</p>
  
  <ul>
  <li>Install and download MinGW from mingw.org</li>
  <li>After installing, add the Path to your SystemEnvironemt (example: C:\MinGW).
  go to Start->Computer, right mousebutton, select properties
  go to advanced system setting, in the following dialog press "Environment Variables".
  in the tab "system variables", find the entry Path (or PATH)
  add: C:\MinGW;
  get freeglut pre-compiled package:
  (http://www.transmissionzero.co.uk/computing/using-glut-with-mingw/)
  there is a good tutorial how to set up.</li>
  </ul>
  
  <p>Now have fun (just #include " and you're done.
  have fun.</p>
  
  <p>Note #1:
  if you have problems finding make, the folder is:
  C:\MinGW\msys\1.0\bin\make.exe
  (when installed  MinGW on C:\MinGW).</p>
  
  <p>"mingw-get install msys" in command line should get msys...
  last but not least dont forget to add msys\bin to path, too. :)</p>
  
  <blockquote>
    <blockquote>
      <p>here's a full tutorial, but in german language.
      <a href="http://techchan.blog.de/2012/03/18/einrichten-opengl-netbeans-7-1-1-teil-0-start-13209096/" rel="nofollow">http://techchan.blog.de/2012/03/18/einrichten-opengl-netbeans-7-1-1-teil-0-start-13209096/</a></p>
    </blockquote>
  </blockquote>
  
  <p>If you need it in english, let me know if you could translate it ;) otherwise i'll think about to translate it myself.</p>