GLUT for Windows

GLUT is installed in CL105. If you do not have access to that room and must use CL135.4, you will need to use the non-admin install instructions.

Installing GLUT

  1. We will be using freeglut. Get the appropriate zip file from
  2. Extract the files to your PC.
  3. There are three files of importance: glut32.lib, glut.h, and glut32.dll
  4. If you are using 32-bit Windows with Visual Studio 2008, the following are the easiest places to put each of these files:
  5. If you are using 64-bit Windows Vista or Windows 7 with Visual Studio 2010, the following are the easiest places to put the files:
  6. If you are not an admin on the computer you are working on, put all three files in the project folder next to your code. Change the glut.h include to this: #include "glut.h". All project files must be in the project directory. If you are having troubles contact your lab instructor.

Set up a GLUT program