Jump to content
  • Advertisement
Sign in to follow this  
Momowowmojo

OpenGL setup for C++?

This topic is 3323 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 was going to install opengl so that I can create 3d games, but I don't know where to get it and set it up. Can somebody help? And there is one more question I have, do I need to buy a license if I wish to sell my opengl games?

Share this post


Link to post
Share on other sites
Advertisement
Here is a link to get opengl set up :

http://www.videotutorialsrock.com/

and I am not sure about the licensing but I would imagine you would need
to patent it, and you can sell it (with copyrights), although you
can "sell" it to people without any license or copyrights.

Share this post


Link to post
Share on other sites
Hello,
The OpenGL library (opengl32.lib) is part of the Windows Platform/Windows SDK's provided by Microsoft as part of Visual Studio. Please keep in mind that this library is very old and outdated so you'll need an extension wrapper such as GLee (google it) to take full advantage of your video cards features.

To answer your second question, you do not have to license anything to use the OpenGL library in your games/applications. Please note that any helper libraries such as GLee, or any image loaders (i.e. jpeg, png, etc...) may have different licenses and you should read carefully to ensure you follow the owners copyrights.

Share this post


Link to post
Share on other sites
(Assuming you are using Windows)
What you need to get started comes with the compiler, VC++ 2005 Express Edition (used in that video tutorials posted by tnutty) is an exception since it does not include the platform SDK, but VC++ 2008 EE (recommended) comes with the required headers and libraries. To get hardware acceleration all you need to do is installing the latests drivers for your graphics card.
Later you may need the extension headers (glext.h, glxext.h, and wglext.h) which can be download from here:
http://www.opengl.org/registry/
Other libraries like GLUT, GLee or GLEW are not part of OpenGL, you can find them easily through Google.
This question was asked many times here, search the forum for more information.

Quote:

And there is one more question I have, do I need to buy a license if I wish to sell my opengl games?

No, not because of using OpenGL.

Share this post


Link to post
Share on other sites
Have a look at the getting started Wiki for OpenGL. It explains everything you need:

http://www.opengl.org/wiki/Getting_started

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!