OpenGL Setup Windows 7
OpenGL Setup Windows 7
OpenGL Setup Windows 7
* Note that by default Extract All inserts an extra glut-3.7.6-bin subfolder, e.g. path_to_zip_file\glut3.7.6-bin\glut-3.7.6-bin. Just make sure you use the full path to the folder of the above files in the
subsequent steps.
Type the location of the folder where you unzipped glut-3.7.6-bin.zip, followed by a semi-colon, at the
beginning of the Variable value: e.g. C:\code\glut\glut-3.7.6-bin;
In Visual Studio, right-click on Source Files in the Solution Explorer in Visual Studio
Select Add->Existing Item, and choose your file (example, main.cpp)
If your file is an OpenGL file (you will complete the following steps for all OpenGL Projects)
Right-click on your project (GlutTest in the above image), and select Properties
Select C/C++, and add your glut directory to Additional Include Directories (See following image)
Select Linker->General and add your glut directory to Additional Library Directories
Under Configuration at the top-left (currently Active (Debug)), select Release, and repeat the steps of
adding the include directory, library directory, and additional dependency for glut.
Click OK