This is a huge problem with OpenGL development.
I guess that originally (on SGI stations and the likes), the compiler, the OpenGL hardware, the OpenGL drivers, the OpenGL headers and the OpenGL libraries were all supplied by the same vendor. Then you could more or less assume that the version of the headers etc were the same as the version of the actual OpenGL implementation.
On consumer PC’s, the situation is a whole different story. Most “components” (compiler, hardware etc) are supplied by different manufacturers. Thus you are likely to end up with version inconsistencies.
With that said:
-
Under Windows, you only get “native” support for OpenGL 1.1 (Microsoft has no interest in supporting technology that competes with DirectX)
-
Most compilers come with OpenGL 1.1 headers and libraries (you seem to have OpenGL 1.0 headers though)
-
Most hardware/drivers support at least OpenGL 1.2
To make use of OpenGL functionality that is in OpenGL 1.2 or later, you need to get the function pointers for those functions as if they were extensions (see http://www.opengl.org/developers/code/features/OGLextensions/OGLextensions.html ). You also need headers that support the OpenGL version that you want to use.
For OpenGL 1.1 development (under Windows), you only need the new headers and libraries, since OpenGL 1.1 is supported by Microsoft.
So, the question is still: where can I find them?
I have not found any good “plain” sources yet (I’m still looking). What you CAN do is to:
A) Download the free LCC-Win32 compile. It contains OpenGL 1.1 headers (originally from SGI I believe)
B) Download the free Cygwin compiler environment. It contains OpenGL 1.2.1 headers (from the SGI open source project)
C) Download the free Mesa3D implementation. It contains OpenGL 1.3 headers (by Brian Paul).
Regardless of what you chose, you will probably have to tweak the headers a little bit to make them work with your compiler, and you still need the OpenGL 1.1 libraries for Borland 3.0 - I do not know where to get those . Perhaps the free Borland C++ Builder compiler 5.5 has them? - http://www.borland.com/bcppbuilder/freecompiler/ (I do not know if they are compatible with Borland 3).