I want to be able to compile OpenGL4.1 (C/C++) applications from VisualC++ 2010.
After doing a search I only found:
http://www.opengl.org/sdk/
and the documentation: (which is fine)
http://www.opengl.org/sdk/docs/man4/
Which is a bit confusing, and I really don’t know what to install to get started. I can’t even find a download link, or what OpenGL projects I should use.
You don’t need to download anything to use OpenGL. Just add
to the top of your source file. And you also need to link the libraries, which in MSVC can be done like this:
With the header files provided with microsoft, you are stuck with version 1.1 of ogl. I suggest getting the latest extension headers from the OpenGL website, as well as something like GLEW. This will give you access to the latest available functions and constants in OpenGL.