Wednesday, April 17, 2013

Install/setup glut, glew recap

 

Download files

http://glew.sourceforge.net/

http://freeglut.sourceforge.net/

Copy FreeGlut files

Copy the contents from FreeGLUT’s lib folder into the Windows SDK’s Lib folder.
Copy the contents from FreeGLUT’s include\GL folder into the Windows SDK’s Include\gl folder.

Copy Glew files

Copy the contents from GLEW’s lib folder into the Windows SDK’s Lib folder.
Copy the contents from GLEW’s include\GL folder into the Windows SDK’s Include\gl folder.

Copy freeglut.dll from \freeglut\bin:

‘C:\Windows\System32\’ (32bit)

OR

C:\Windows\SysWOW64 (64bit)

Link in MSVS Project properties:

Go to the Linker property page, and click on the Input sub-page. Expand the drop-down list next to the Additional Dependencies option and click on Edit…. In the window, add glew32.lib followed by a newline, and freeglut.lib

 

http://www.cplusplus.com/forum/beginner/51225/

http://openglbook.com/setting-up-opengl-glew-and-freeglut-in-visual-c/

No comments:

Post a Comment