This page contains links to useful resources.
- Visual Studio 2017 is available through MSDNAA. Use the Desktop Development for C++ option.
- FreeGLUT the OpenGL window management package we will be using. The package is targetted to Linux, but you can get a distribution for Windows.
- 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 10 (Visual Studio 2017)
-
Download and extract freeglut 3.0.0 MSVC Package.
-
Copy the contents of the include\GL directory to:
- C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\gl
-
Copy freeglut.lib from the lib directory (NOT the x64 subdirectory) to:
- C:\Program Files (x86)\Windows Kits\10\Lib\10.0.17134.0\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 10 (Visual Studio 2017)
-
Copy the header file SOIL.h to (you will need to make a new SOIL directory):
- C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\SOIL
-
Copy the library SOIL.lib to:
- C:\Program Files (x86)\Windows Kits\10\Lib\10.0.17134.0\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 10 (Visual Studio 2017)
-
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\10\Include\10.0.17134.0\um\gl
-
Copy glew32.lib in the lib\Release\Win32 directory to:
- C:\Program Files (x86)\Windows Kits\10\Lib\10.0.17134.0\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.