How to load OpenGL into Visual Studio 2012

Jasper Lu picture Jasper Lu · Sep 30, 2012 · Viewed 17.8k times · Source

I don't understand how to load OpenGl so that I can start using the functions in it. At first I thought it would be as simple as Allegro, where I just specify the location of the library, but I guess not.

Can someone either teach me how to install OpenGl into Visual Studio 2012 or show me a simpler, just as powerful graphics library?

Answer

Ram picture Ram · Sep 30, 2012

The best way to learn OpenGL is by example. Creating a context and getting it right the first time is rare. Browse through the examples and demos in the site here.

The examples are in VS 2010. You can convert them to VS 2012.