

Libraries: the OpenGL library " libopengl32.a", GLU library " libglu32.a" and GLUT library " libfreeglut.a" are kept in " \lib" directory.Since " \include" is in the implicit include-path. Headers: the OpenGL header " gl.h", GLU header " glu.h" and GLUT header " glut.h" (or " freeglut.h") are kept in " \include\GL" directory.ĭownload, unzip and copy header files from " include\GL" to " \include\GL" the libraries from " lib" to " \lib", and shared library from " bin" to " \bin" (which should be included in the PATH environment variable), where is the MinGW installed directory. I recommend using the pre-package version for MinGW (freeglut 2.8.0 MinGW Package) available at.
UPDATE MINGW INSTALL
UPDATE MINGW SOFTWARE
Įach of the software package consists of: GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform." Source and pre-build binary available at.

While GLUT is well-suited to learning OpenGL and developing simple OpenGL applications, GLUT is not a full-featured toolkit so large applications requiring sophisticated user interfaces are better off using native window system toolkits.

Quoting from the : "GLUT is designed for constructing small to medium sized OpenGL programs. GLUT functions start with a prefix of " glut" (e.g., glutCreatewindow, glutMouseFunc). OpenGL Utilities Toolkit (GLUT): provides support to interact with the Operating System (such as creating a window, handling key and mouse inputs) and more building models (such as sphere and torus).GLU functions start with a prefix " glu" (e.g., gluLookAt, gluPerspective) OpenGL Utility Library (GLU): built on-top of the core OpenGL to provide important utilities and more building models (such as qradric surfaces).The Core OpenGL models an object via a set of geometric primitives, such as point, line, and polygon. Core OpenGL (GL): consists of hundreds of functions, which begin with a prefix " gl" (e.g., glColor, glVertex, glTranslate, glRotate).We need the following sets of libraries in programming OpenGL:

We need a C/C++ compiler, either GCC (GNU Compiler Collection) from MinGW or Cygwin (for Windows), or Visual C/C++ Compiler, or others.
