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. In case the files are missing you can download from
here.
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.
Note that you will find the header (.h) files in the include folder, library (.lib) files in the lib folder and DLL (.dll) files in the bin folder after extracting the zip file. Please follow the installation instruction given at the bottom depending on your operating system.
GLEW on Windows
The following
files are needed for using GLEW:
Header Files:
glew.h
glxew.h
wglew.h
Libraries:
glew32.lib
glew32mx.lib
glew32mxs.lib
glew32s.lib
DLLs:
glew32.dll
Download GLEW from
here.
Note that you will find the header (.h) files in the include folder, library (.lib) files in the lib folder and DLL (.dll) files in the bin folder after extracting the zip file. Please follow the installation instruction given at the bottom depending on your operating system.
Installation on Windows (32-bit Operating System)
1. Copy the header (.h) files in the folder "C:\Program Files\Microsoft SDKs\Windows\(highest version)\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\(highest version)\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\(highest version)\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\(highest version)\Lib\".
3. Copy the DLL (.dll) files in the folder "C:\Windows\SysWOW64\".