Setting up a GLUT Enviornment in Windows?


I have been programming in c++ for about 2 years and I am starting to use OPEN GL. I have not worked with MFC stuff so I am not used working with actual “Windows.” I have done a few tutorials and I after a lot of reading I have decided to use GLUT, to start with.

I downloaded all of the neccessary GLUT files and I made the Glut32.dll and Glut32.lib. I have all of the OpenGL libraries Glu etc. and they run fine.

In MS VC++ what libraries do I need to include in my project? Where should they be, because I downloaded a couple of them and they are all over my computer?

I am basically trying to set up an Enviorment that I can use GLUT. Thanks a lot.

you need to link under Project->settings->Link (i think that’s right) to opengl32.lib glu32.lib and glaux.lib

This site tells you exactly what you need and where it needs to go to setup GLUT with VC++.

Or it you want to break the dependency completely with Windows, download Cygwin and build everything with the Gnu C++ compiler.