PDA

View Full Version : Setting up a GLUT Enviornment in Windows?



02-10-2002, 02:57 PM
hello,

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.

robert
02-10-2002, 03:19 PM
you need to link under Project->settings->Link (i think that's right) to opengl32.lib glu32.lib and glaux.lib

02-10-2002, 03:39 PM
http://www.lighthouse3d.com/opengl/glut/index.php3?1

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

golgi apparatus
02-11-2002, 01:33 AM
Or it you want to break the dependency completely with Windows, download Cygwin and build everything with the Gnu C++ compiler.