Step 1.First Download Glut from here. Then uncompress it. The uncompressed folder(glut-3.7.6-bin) should contain the following files
1.    glut.h
2.    glut.def
3.    glut32.dll
4.    glut32.lib
5.    README-win32.txt
Step 2. Copy glut.h to . Make a folder named "gl"  under "C:\Program Files\Microsoft Visual Studio 9.0\VC\include". Then copy "glut.h" there.
Step 3. Copy "glut32.lib" under "C:\Program Files\Microsoft Visual Studio 9.0\VC\lib".
Step 4. Copy "glu32.dll" under "C:\Windows\System32".
Finished.  OpenGL source file should include GL/glut.h.
 
 
No comments:
Post a Comment