www.digitalmars.com         C & C++   DMDScript  

c++.windows.32-bits - Linking OpenGL

I'm trying to get started with OpenGL and am stumped on the linking part. Which
libraries do I need and where can I get them?

This is my compile line, assembled via guess: dmc ogl2 -I\dm\stlport\stlport
\dm\lib\GL\glu32.lib \dm\lib\GL\glaux.lib

My errors look like this: Error 42: Symbol Undefined _glEnd 0 , replacing glEnd
with every other OpenGL-specific command in the program.

It seems to me that I have all the libraries commonly mentioned being pointed
to, so I'm wordering if I've somehow made them invalid. I've tried two things


compiler's libraries (it links fine in that one). Of course, neither worked.

Thanks in advance for any help.
Oct 18 2004