This page contains links to useful resources.
- Visual Studio 2013 is available through MSDNAA.
- FreeGLUT the OpenGL window management package we will be using. The package is targetted to Linux, but you can get a distribution for Windows (this package will also work on VS 2013).
- SOIL the Simple OpenGL Image Library package we will be using. I have precompiled libraries for Windows and Mac OSX that can be downloaded in the corresponding installation section below.
- GLEW the OpenGL Extension Wrangler Library package we will be using for shaders (since Windows contains an old version of OpenGL). NOTE: OSX contains a current version of OpenGL and thus does not require GLEW.
FreeGLUT Installation Instructions
Windows 7 (Visual Studio 2013)
Download and extract freeglut 2.8.1-1 for MSVC.
Copy the contents of the include\GL directory to:
- (32-bit) C:\Program Files\Windows Kits\8.1\Include\um\gl
- (64-bit) C:\Program Files (x86)\Windows Kits\8.1\Include\um\gl
Copy freeglut.lib from the lib directory (NOT the x64 subdirectory) to:
- (32-bit) C:\Program Files\Windows Kits\8.1\Lib\win8\um\x86
- (64-bit) C:\Program Files (x86)\Windows Kits\8.1\Lib\win8\um\x86
Copy freeglut.dll from the bin directory (NOT the x64 subdirectory) to:
- (32-bit) C:\Windows\System32
- (64-bit) C:\Windows\SysWOW64
Windows 8.1 (Visual Studio 2013)
Download and extract freeglut 2.8.1-1 for MSVC.
Copy the contents of the include\GL directory to:
- C:\Program Files (x86)\Windows Kits\8.1\Include\um\gl
Copy freeglut.lib from the lib directory (NOT the x64 subdirectory) to:
- C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x86
Copy freeglut.dll from the bin directory (NOT the x64 subdirectory) to:
- C:\Windows\SysWOW64
Linux (ubuntu)
From a terminal window
$ sudo apt-get install freeglut3-dev
Mac OSX
Install XCode which includes OSX GLUT libraries.
SOIL Installation Instructions
Windows 7 (Visual Studio 2013)
Copy the header file in the links to (you will need to make a new SOIL directory):
- (32-bit header) C:\Program Files\Windows Kits\8.1\Include\um\SOIL
- (64-bit header) C:\Program Files (x86)\Windows Kits\8.1\Include\um\SOIL
Copy the library in the links to:
- (32-bit library) C:\Program Files\Windows Kits\8.1\Lib\win8\um\x86
- (64-bit library) C:\Program Files (x86)\Windows Kits\8.1\Lib\win8\um\x86
Windows 8.1 (Visual Studio 2013)
Copy the header file in the links to (you will need to make a new SOIL directory):
- SOIL.h C:\Program Files (x86)\Windows Kits\8.1\Include\um\SOIL
Copy the library in the links to:
- SOIL.lib C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x86
Linux (ubuntu)
From a terminal window
$ sudo apt-get install libsoil-dev
Mac OSX
Download the mac header.
In a terminal window, from the directory where you downloaded the header file:
$ sudo mkdir /usr/local/include/SOIL $ sudo cp SOIL.h /usr/local/include/SOIL/
Download libSOIL.a.
In a terminal window, from the directory where you downloaded the library:
$ sudo cp libSOIL.a /usr/local/lib/
GLEW Installation Instructions
Windows 7 (Visual Studio 2013)
Download and extract (be sure to get the Windows 32-bit version even if you are running a 64-bit OS) precompiled binaries.
Copy the contents of the include\GL directory to:
- (32-bit) C:\Program Files\Windows Kits\8.1\Include\um\gl
- (64-bit) C:\Program Files (x86)\Windows Kits\8.1\Include\um\gl
Copy glew32.lib in the lib directory to:
- (32-bit) C:\Program Files\Windows Kits\8.1\Lib\win8\um\x86
- (64-bit) C:\Program Files (x86)\Windows Kits\8.1\Lib\win8\um\x86
Copy glew32.dll in the bin directory to:
- (32-bit) C:\Windows\System32
- (64-bit) C:\Windows\SysWOW64
Windows 8.1 (Visual Studio 2013)
Download and extract (be sure to get the Windows 32-bit version even if you are running a 64-bit OS) precompiled binaries.
Copy the contents of the include\GL directory to:
- C:\Program Files (x86)\Windows Kits\8.1\Include\um\gl
Copy glew32.lib in the lib directory to:
- C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x86
Copy glew32.dll in the bin directory to:
- C:\Windows\SysWOW64
Linux (ubuntu)
From a terminal window
$ **sudo apt-get install libglew-dev**
Mac OSX
GLEW is not needed for OSX.