title: How to link OpenGL libraries to project in NetBeans 7.1
body: <p>I have a book that teaches the basics of OpenGL 3.0 but it asks me to incorporate header files into my C++ project. Now, I'm using Netbeans 7.1 and I have no idea where to look or what to do. This is the text from the book:</p>
  
  <blockquote>
    <p>When compiling OpenGL applications, several libraries need to be
    linked and header files included. The header files are conventionally
    stored in an include directory called GL. The following header files
    may be included in a project depending on the platform and features
    required:</p>
  </blockquote>
  
  <pre><code>gl.h - This is the primary header file that defines most of the OpenGL functions.
  glu.h - The header for the OpenGL Utility library.
  glext.h - The OpenGL extensions header file. This header file is regularly updated and available on opengl.org. It includes constants and definitions for the most recent OpenGL extensions.
  wglext.h - The Windows extensions header file. The same as glext.h but for Windows-only extensions.
  glxext.h - The GLX extensions header file contains constants for GLX extensions.
  </code></pre>
  
  <blockquote>
    <p>All OpenGL applications must link to at least opengl32.lib on Windows,
    or libGL.a on Linux. If the application makes use of the OpenGL
    Utility library, then glu32.lib (on Windows) or libGLU.a (on Linux)
    must also be linked.</p>
  </blockquote>