Jump to content
  • Advertisement


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


OpenGL OpenGL - Where is SDK?

This topic is 5457 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''ve decided to switch over from DirectX to OpenGL, but now that critical task of finding the library and header files confronts me ... Are they not public? After spending something like an hour searching through the OpenGL and SGI websites, I can''t find anything. What am I missing here? Is this some big conspiracy? - Ben

Share this post

Link to post
Share on other sites
In all reality, if you have a graphics card that supports OpenGL well, then that will provide a higher version than the default Microsoft implementation. It''s perfectly fine to get GL_VERSION, and present an error dialog if version is less than 1.3, for example.

Also, the OpenGL SDK (headers and libs) are part of the base platform SDK on Windows. It comes with most compilers for Windows. Just add opengl32.lib and glu32.lib, include and be happy! Same thing on Linux, more or less.

If you want to use > 1.1 version features, you may need to get some function pointers using the extension mechanism { wglGetProcAddress() } and define some tokens yourself { #define GL_CLAMP_TO_EDGE ((GLenum)0x812F) }. This is typically boilerplate code you set up once and then don''t worry about. There are also various headers and libraries on the web to help out -- search for glext.h (warning: there are many versions, some newer than others!)

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!