Sign in to follow this  
Momowowmojo

OpenGL setup for C++?

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this