PDA

View Full Version : Simple Question!



lost-
08-05-2002, 06:26 AM
PLease help.
I'm really new to OpenGl (really, new). Most of the source code examples that I download want to include a GLUT32.h, but I can't find it anywhere. I can only find glaux, glut, glut32.dll etc.

This will probably seem like a stupid question to most but please help.

nexusone
08-05-2002, 06:54 AM
What compiler are you using?
What is the error that you are getting?

You should be able to use the glut.h in place of the glut32.h, I am not sure if the diffrence if any between the glut32.h and glut.h, most references was for the borland compiler.

Just make sure that in your linker the folowing libraries are added: opengl32.lib, glu32.lib and glut32.lib.

Also make sure you have glut32.dll also.


You can also get good opengl tutors from nehe.gamedev.net


Originally posted by lost-:
PLease help.
I'm really new to OpenGl (really, new). Most of the source code examples that I download want to include a GLUT32.h, but I can't find it anywhere. I can only find glaux, glut, glut32.dll etc.

This will probably seem like a stupid question to most but please help.

killercow
08-05-2002, 06:58 AM
glut is on this web site. You can do a search for glut on google which will refer you to this web site. Just download glut with the headers and includes and put those where your other GL headers and includes are. You should be fine then.