View Full Version : OpenGL Files

09-01-2006, 07:39 PM
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.

09-01-2006, 09:51 PM
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:

09-02-2006, 01:10 AM
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,

09-02-2006, 02:08 AM
I bet it is in the wiki, but noone looks there :-/

09-02-2006, 02:10 AM
Sometimes the things right under your nose are the most difficult to see ;)

09-02-2006, 10:52 AM
Wow, that was a quick response. Thank you guys for your help, that should be enough.