Excuse my lack of knoledge, especially if the answer is something that everyone already knows. I am beginning programming with C++ and OpenGL, but cannot find the actual OpenGL files anywhere on the internet. I am currently using the only one I could find, which is very old. Please direct me to any downloading source and correct my stupidity.
Most compilers (eg. Visual studio and Borland etc) on Windows only come with the necessary files for basic OpenGL 1.1 compiling. For anything above OpenGL 1.1 (on windows) you need to manually load the entry points or use a library to do it for you.
Basic details on this:
Also if you are starting OpenGL, there are a few beginner tutorials on the web. A popular one is:
I think you need these files:
#pragma comment(lib, “opengl32.lib”)
#pragma comment(lib, “glu32.lib”)
#pragma comment(lib, “glaux.lib”)
Add those lines to your code, or include them under LInk if you are not using Visual C++ from Microsoft.
[Hey guys, everyone asks this question.
Can’t we place a link to these files in the Wiki?
(or are they already there?)]
Hope it helps,
I bet it is in the wiki, but noone looks there :-/
Sometimes the things right under your nose are the most difficult to see
Wow, that was a quick response. Thank you guys for your help, that should be enough.