This page contains links to useful resources.
- Visual Studio 2015 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 8.1 (Visual Studio 2015)
-
Open Visual Studio 2015. Select File->New->Project. Under the Templates tab expand Other Languages. Select Visual C++. Select Install Visual C++ 2015 Tools for Windows Desktop. Follow the installation procedure to setup the necessary Windows SDK.
-
Download and extract freeglut 3.0.0 MSVC Package.
-
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
Windows 10 (Visual Studio 2015)
-
Open Visual Studio 2015. Select File->New->Project. Under the Templates tab expand Other Languages. Select Visual C++. Select Install Visual C++ 2015 Tools for Windows Desktop. Follow the installation procedure to setup the necessary Windows SDK.
-
Download and extract freeglut 3.0.0 MSVC Package.
-
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 from the App Store.
Then in a terminal window
$ sudo xcode-select --install
to install the command line tools.
SOIL Installation Instructions
Windows 8.1 (Visual Studio 2015)
-
Copy the header file SOIL.h to (you will need to make a new SOIL directory):
- C:\Program Files (x86)\Windows Kits\8.1\Include\um\SOIL
-
Copy the library SOIL.lib to:
- C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x86
Windows 10 (Visual Studio 2015)
-
Copy the header file SOIL.h to (you will need to make a new SOIL directory):
- C:\Program Files (x86)\Windows Kits\8.1\Include\um\SOIL
-
Copy the library SOIL.lib to:
- 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 8.1 (Visual Studio 2015)
-
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\Release\Win32 directory to:
- C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x86
-
Copy glew32.dll in the bin\Release\Win32 directory to:
- C:\Windows\SysWOW64
Windows 10 (Visual Studio 2015)
-
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\Release\Win32 directory to:
- C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x86
-
Copy glew32.dll in the bin\Release\Win32 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.