Jump to content
  • Advertisement

Archived

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

ssjeci

opengl

This topic is 5595 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

Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!