Jump to content
  • Advertisement
Sign in to follow this  
natescham

OpenGL Finding OpenGL

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

I know this sounds dumb, but I have worked with sdl, ogre3d, and some directx but I do not know where to find the OpenGL sdk to link it to my compiler. I tried googling it but there were inconsistent answers. Where can I find OpenGL if it is already on my computer, or where can I download the SDK? I seen there was a nVidia OpenGL SDK but I figured it was nVidia specific? Not quite sure. Thanks. -Nate

Share this post


Link to post
Share on other sites
Advertisement
I assume you're using C++. The OpenGL header and library files are included with MSVC++. Check the library and include directories for gl.h and opengl32.lib. Include the header and link the library.

Unfortunately, the header files are old so you have to query the extensions interface to get pointers to the newer functions (anything after OpenGL v1.1 I think). There's code for this sort of thing online.

The actual drivers that do stuff are either installed when you install your new video card or automatically installed by vista/xp (for older cards). If any kind of 3d program runs on your computer you probably have the OpenGL drivers installed already. =)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!