Archived

This topic is now archived and is closed to further replies.

opengl

This topic is 5382 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Guest Anonymous Poster
That''s pretty unlikely. What compiler are you using?

Share this post


Link to post
Share on other sites
You probably do have it. If you are trying to compile and it is giving you errors (such as ''undefined reference to glSomeFunction''), you probably just didn''t link to the library. In GCC (which comes with Dev-C++) you can add -lopengl32 -lglu32 to the linker options. I don''t have MSVC so if you''re using it you''ll have to ask some else here on how to link to it.

Share this post


Link to post
Share on other sites
if you''ve got a working driver, you''ve got OpenGL. you can easily check it by looking if the file (WindowsPath)\System\OpenGL32.dll or /usr/lib/libGL.so exists.
you MUST instruct your compiler(/linker) to link with the GL-libs, like smart_idiot said.

Share this post


Link to post
Share on other sites