This was my final submission for CS 471 Computer Graphics at my Undergraduate College.
Installing OpenGL and GLUT:
Windows comes pre-installed with OpenGL
- glut.h
- on a 32-bit system: place this GLUT include file in C:\Program Files \Microsoft Visual Studio 10.0\VC\include\GL (you may have to create the GL subdirectory)
- on a 64-bit system: place this GLUT include file in C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\GL
- glut32.lib
- on a 32-bit system: place this GLUT library in C:\Program Files\Microsoft Visual Studio 10.0\VC\lib
- on a 64-bit system: place this GLUT library in C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib
- create a Visual C++ | Win32 Console Application | Empty project
- build and execute as usual
- glut32.dll
- on a 32-bit system: place this dynamically-linked library into C:\Windows\System32
- on a 64-bit system: place this dynamically-linked library into C:\Windows\SysWOW64
- Run the .exe file!
For more info on running OpenGL programs, click here