HELP: compiling opengl code
Ok. I don''t know where to post but this seems to be the closest related forum.
I need help compiling some program that uses opengl. I use BloodShed Dev-C++ and SDL (www.libsdl.com). I can compile a project fine until it starts to link. It throws up errors of lots of opengl commands that can''t be found - like if I need opengl32.lib or something. I did a search on my PC and found opengl32.dll, but not opengl32.lib. So I download my graphics drivers (www.nvidia.com) for my GeForce3 card. Still no sign of opengl32.lib.
Please help.
Dev-c++ uses "libopengl32.a" instead of "opengl32.lib".
You should have that in your library dir, just add -lopengl32 to your linker line.
You should have that in your library dir, just add -lopengl32 to your linker line.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement