Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>This is GLUT installation instruction. Not free glut</p> <p>First download this 118 KB GLUT package from <a href="http://www.xmission.com/~nate/glut/glut-3.7.6-bin.zip">Here</a></p> <p>Extract the downloaded ZIP file and make sure you find the following</p> <blockquote> <p>glut.h</p> <p>glut32.lib</p> <p>glut32.dll</p> </blockquote> <p>If you have a 32 bits operating system, place glut32.dll to <code>C:\Windows\System32\</code>, if your operating system is 64 bits, place it to 'C:\Windows\SysWOW64\' (to your system directory)</p> <p>Place glut.h <code>C:\Program Files\Microsoft Visual Studio 12\VC\include\GL\</code> (NOTE: 12 here refers to your VS version it may be 8 or 10)</p> <p>If you do not find VC and following directories.. go on create it.</p> <p>Place glut32.lib to <code>C:\Program Files\Microsoft Visual Studio 12\VC\lib\</code></p> <p>Now, open visual Studio and </p> <ol> <li>Under Visual C++, select Empty Project(or your already existing project)</li> <li>Go to Project -> Properties. Select 'All Configuration' from Configuration dropdown menu on top left corner</li> <li>Select Linker -> Input </li> <li>Now right click on "Additional Dependence" found on Right panel and click Edit</li> </ol> <p>now type</p> <blockquote> <p>opengl32.lib</p> <p>glu32.lib</p> <p>glut32.lib</p> </blockquote> <p>(NOTE: Each .lib in new line)</p> <p>That's it... You have successfully installed OpenGL.. Go on and run your program.</p> <p>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.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload