I want to be able to set up my computer and visual studio 2013 so I can use freGLUT and GLEW in my applications. I am new to OpenGL and have tried to follow the directions found here
http://openglbook.com/setting-up-opengl-glew-and-freeglut-in-visual-c/
I also went through the instructions here because the first set did not allow visual studios to see the files
http://www.cs.uregina.ca/Links/class-info/315/WWW/Lab1/GLUT/windows.html
I was able to get the test program from chapter 1 of the openglbook to run but in general I didn't fully understand a lot of the setup. Is there a simpler way to setup GLUT and GLEW for a newbie like me I would like to program with c++ and visual studios. Also did I need to do a lot of the property changes in the openglbook tutorial?
Update
For anyone else using the same book as me some of the source code can be found here
http://www.opengl-redbook.com/
book OpenGL Programming Guid The official guide to learning OpenGL version 4.3
I have Visual Studio set with glut and glew and it's working fine. These are the steps I did:
Install Glut:
Install Glew:
That's it! I hope this helps.
To setup GLUT for Visual Studio 2017:
Use Freeglut, the Free OpenGL Utility Toolkit alternative to GLUT.
FreeGlut Download and follow steps mentioned in README.cmake
For windows
You can now navigate to the build directory you specified in step 5. Open the freeglut.sln file that was generated in your build directory, and compile as usual
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.