this one drives me crazy. I've been searching for two days but cant find any answer. I want to develop some things with OpenGL 3 (or newer) with Visual Studio 2010 / C++.
The header and libraries provided by Microsoft are way too old to support OpenGL 3, so I'm trying to find newer versions. I easily found the header file in the OpenGL registry (http://www.opengl.org/registry/) but I cant find the OpenGL32.lib anywhere. How am I supposed to link a program without it?
The OpenGL library can usually be found by the name OpenGL32. dll under the \system32 folder, located in your system's root folder (usually c:\windows).
There is no opengl. lib, whether 32-bit or 64-bit. You get OpenGL headers and libraries by installing a development environment; Visual Studio, MinGW, whichever.
The 32-bit version is also named opengl32. dll and is located in %SystemRoot%\syswow64 on 64-bit Windows.
OpenGL is part of Windows XP and the Visual Studio. Its library files are usually in C:\Program Files\Microsoft Visual Studio . NET 2003\Vc7\PlatformSDK\Lib: opengl32.
There isn't a newer OpenGL library for windows, and there won't be. They decided to stop at OpenGL 1.1 and even call it a legacy graphics.
However, you can use load opengl function, and that is how people get access to the latest opengl features.
You can also use GLEW library to get access to the opengl functions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With