Instructions for using OpenGL and GLUT for Windows XP machines with Microsoft Visual Studio.Net 2008

If you are using OpenGL on your computer at home:

·  All Windows systems since Windows 98 have OpenGL preinstalled.

·  Download GLUT. Go to the CSCI 4250 pages web site (http://www.cs.mtsu.edu/~jhankins/index.php?page=4250/home) and visit the “Links to OpenGL sites”. You will find a site for downloading GLUT.

·  When you down load it, it will be a zip file. You will have to unzip it. Then place the glut32.dll file in the WINDOWS\system32 directory.

·  If your system is configured like the ones at MTSU, you will need to place the glut.h file in the \Program Files\Microsoft Visual Studio 9.0\VC \Include\ folder and the glut32.lib file in the Program Files\Microsoft Visual Studio 9.0\VC\Lib folder.

To use Microsoft Visual Studio.Net 2008:

·  Warning: You will probably need something other than a floppy disk on which to keep your project because a complete project takes up too much space. The .cc files and .h files will fit on a floppy with no trouble but you cannot build a project on a floppy.

·  Start Microsoft Visual C++ -- click on Start, Programs, Microsoft Visual Studio 2008, Microsoft Visual Studio 2008

·  Create a new project by selecting FileàNewàProject…àWin32 à Win32 Console Application. Give your project a name (use your last name followed by the number of the project for the name of the project), select the appropriate disk or hard drive, and click on OK. On the subsequent window, select Application Settings. In the next window, select Console Application and Empty Project then click on Finish.

·  To create the files that should be placed in the project, you should select Project, Add New Item, and then select the type of files that you are creating. For example if you are adding a C++ file, you would select C++ File in the Templates section, give your C++ file a name, click Add, and you should see the editor window.

·  To create an executable, compile Build à Build Solution or Build à Rebuild Solution (Compiles and Links.)

·  You can then run your executable by typing (CTRL + F5) or selecting Debug à Start Without Debugging