As we started learning OpenGL, We are going to do some practicals using Visual Studio and OpenGL.
For that we need to follow some prerequisites.
Thanks to Vishwanath
For that we need to follow some prerequisites.
Thanks to Vishwanath
This is GLUT installation instruction. Not free glut
First download this 118 KB GLUT package from Here
Extract the downloaded ZIP file and make sure you find the following glut.hIf you have a 32 bits operating system, place glut32.dll to C:\Windows\System32\ , if your operating system is 64 bits, place it to 'C:\Windows\SysWOW64\' (to your system directory)Place glut.h C:\Program Files\Microsoft Visual Studio 12\VC\include\GL\ (NOTE: 12 here refers to your VS version it may be 8 or 10)If you do not find VC and following directories.. go on create it. Place glut32.lib to C:\Program Files\Microsoft Visual Studio 12\VC\lib\ Now, open visual Studio and
opengl32.lib(NOTE: Each .lib in new line) That's it... You have successfully installed OpenGL.. Go on and run your program. Same installation instructions aplies to freeglut files with the header files in the GL folder, lib in the lib folder, and dll in the System32 folder. |
Comments
Post a Comment