Sorry for this stupid question

What do I need for compile opengl??

(I repeat, sorry mates, but I’m only 15 years old :P)

You need some libraries to link:
opengl32.lib
glu32.lib
glut32.lib
glaux.lib

you need also opengl32.dll to be in your system directory
and some header files to include:
gl.h
glu.h
glaux.h

If you’re working with VCC, you should put lib files into VCC lib directory and header files into a \GL directory in VCC include directory.

That’s all I think.

[This message has been edited by julien (edited 10-10-2000).]

Glut makes glaux useless (glaux is no longer supported), and if you like to write programs using win32 api you don’t have to use glut.
Now if you have win95 release b or older, you already have the dlls in your system.

Conclusions:
opengl32.lib, gl.h
glu32.lib, glu.h
Optional: glut32.dll,glut32.lib,glut.h

If you use borland’s compiler you have to convert lib files with implib.
Bye!

Once you’ve got your .dlls linked, head over to nehe.gamedev.net.

One of the best resources on the net.

Good luck!

Jorge, és português ou brasileiro ?? Tens nome latino

fica bem

Bruno

Soy español (spanish)

Sorry but… where can I get those libraries?

thx

If you are working on Microsoft, you should have them. Just include them in your list of libraries to your linker and you should be home free.

In VC++ 6:
Build > Settings > Link > Put opengl32.lib, glu32.lib, glaux.lib (or whatever) in the Object/library modules list.