Windows Users

You can download the necessary runtime libraries, link libraries, and header files from http://www.opengl.org/resources/libraries/glut/glut_downloads.php.  This package comes with three necessary files that just have to be placed in a convenient place where Visual Studio (or whatever compiler you are using) can find them.  The following directories are recommended for Visual Studio users but any will work for the header and link libraries as long as they are properly used in the project.  The Dynamic Link Library should be placed where Windows can find it.  The Windows\System directory is a good place but the same directory as your executable or source code should work just fine.  The necessary OpenGL files come installed with Visual Studio.

            C:\Program Files\Microsoft Visual Studio [version]\VC[version]\include\GL

       C:\Program Files\Microsoft Visual Studio [version]\VC[version]\lib

        C:\Windows\System

 

UNIX \ Linux Users

The GLUT and OpenGL libraries come with most Linux distributions (or see link above).  Linking to the proper libraries will depend on your development environment but can be done from the command line using the "-l" parameter with CC or gcc.  You will have to check the GLUT instructions for the proper places to put the runtime libraries if they are not already on your system.

Students may feel free to do their development in Linux or Unix.  Because GLUT and OpenGL are platform independent, your same code should work in both environments.  However, that is not always the case.  The most convenient system we have for running and grading assignments uses Windows so please test-compile all projects using Visual Studio and submit Windows executables.