Getting started with OpenGL4

OpenGL on Windows

You will need the following files for developing OpenGL programs:

Header Files:
gl.h
glu.h

Libraries:
opengl32.lib
glu32.lib

DLLs:
opengl32.dll
glu32.dll
The above files are usually provided by the manufacturer of your display adapter.


FreeGLUT on Windows

The following files are needed for using FreeGLUT:

Header Files:
freeglut.h
freeglut_ext.h
freeglut_std.h
glut.h

Libraries:
freeglut.lib

DLLs:
freeglut.dll

Download FreeGLUT from here.


Glew on Windows

The following files are needed for using FreeGLUT:

Header Files:
glew.h
glxew.h
wglew.h

Libraries:
glew32.lib
glew32mx.lib
glew32mxs.lib
glew32s.lib

DLLs:
glew32.dll

Download Glew from here.


Installation on Windows (32-bit Operating System)

1. Copy the header (.h) files in the folder "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include\gl\". If the gl folder is not present then create it.
2. Copy the library (.lib) files in the folder "C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\".
3. Copy the DLL (.dll) files in the folder "C:\Windows\System32\".


Installation on Windows (64-bit Operating System)

1. Copy the header (.h) files in the folder "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\gl\". If the gl folder is not present then create it.
2. Copy the library (.lib) files in the folder "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\".
3. Copy the DLL (.dll) files in the folder "C:\Windows\SysWOW64\".