Where do I downlod the latest version of OpenGL for c++/win32?
20 replies, posted
I want to make a program with it but I'm browsing the site and there's no trace of a single download.
You already have it.
It comes with your graphics drivers
If your GPU supports it, get the latest graphics drivers for your card. OpenGL is a standard, not an implementation. If your GPU doesn't support the latest versions of OpenGL, you can get a software-emulated version like Mesa3D.
Where are libopengl32.a and libglu32.a placed?
[QUOTE=TerabyteS;25218909]Where are libopengl32.a and libglu32.a placed?[/QUOTE]
On Windows static libraries don't have the .a extension and they aren't usually prefixed with "lib". The libraries are called opengl32.lib and glu32.lib and I'm pretty sure they're included with the Windows Platform SDK.
mingw/lib ?
[editline]11:42AM[/editline]
[QUOTE=Overv;25219038]Implying he's using MSVC.[/QUOTE]
[url]http://oldwiki.mingw.org/index.php/Libraries[/url]
[QUOTE=ZeekyHBomb;25219051][url]http://oldwiki.mingw.org/index.php/Libraries[/url][/QUOTE]
Oh, I didn't know MinGW even uses .a on Windows.
What you are looking for is a way to call the latest OpenGl extensions, as Microsoft only ships the old headers with their implementation.
There are two libraries that you can use to achieve that goal, GLEW and GLEE. I would heavily suggest GLEW as it is more up to date with more extensions enabled. Their site is right here. [url]http://glew.sourceforge.net/[/url]
To use GLEW, all you have to do is include glew.h instead of opengl.h and then call glewInit AFTER YOU HAVE CONNECTED TO YOUR OPENGL CONTEXT.
[QUOTE=killman;25221349]What you are looking for is a way to call the latest OpenGl extensions, as Microsoft only ships the old headers with their implementation.
There are two libraries that you can use to achieve that goal, GLEW and GLEE. I would heavily suggest GLEW as it is more up to date with more extensions enabled. Their site is right here. [url]http://glew.sourceforge.net/[/url]
To use GLEW, all you have to do is include glew.h instead of opengl.h and then call glewInit AFTER YOU HAVE CONNECTED TO YOUR OPENGL CONTEXT.[/QUOTE]
I recommend GLEE, because it's much easier to use and it only loads the functions you actually use.
[QUOTE=Overv;25221552]I recommend GLEE, because it's much easier to use and it only loads the functions you actually use.[/QUOTE]
GLEE only supports up to OpenGL 3.0, while GLEW even has some OpenGL 4.1 support.
In most cases, you don't want OGL 4.1 yet. Even OGL 3.* support is only for kinda new cards (I think around 8000-series for GeForce and HD-series for AMD/ATi).
Okay so. Could anyone give me (fairly detailed) instructions on how to download/configure opengl/glee/glew for dev-c++?
And maybe some fairly up to date tutorial?
[editline]08:08PM[/editline]
[QUOTE=Darwin226;25229654]Oh no...[/QUOTE]
ok what should i use instead
Get either Visual C++ 2010 express edition or Code::Blocks with the MinGW compiler. I prefer Visual C++ and it's commonly used in industry when writing software + games.
The problem with Dev C++ is it's massively outdated.
Good tutorials for OpenGL 2.x
[url]http://videotutorialsrock.com/[/url]
[QUOTE=Jallen;25229730]The problem with Dev C++ is it's massively outdated.[/QUOTE]
Not only that, but it also ships with a stupidly old version of Mingw32-gcc.
[QUOTE=Jallen;25229730]Get either Visual C++ 2010 express edition or Code::Blocks with the MinGW compiler. I prefer Visual C++ and it's commonly used in industry when writing software + games.
The problem with Dev C++ is it's massively outdated.
Good tutorials for OpenGL 2.x
[url]http://videotutorialsrock.com/[/url][/QUOTE]
Those tutorials are good, but they do not talk about the new OpenGL 3 core profile, which deprecates all of that in favor for a more flexible approach.
As for the availability of OpenGL 3, OpenGL 3 is like DirectX10, and if found in cards that support that.
A good tutorial for the core profile is [url]http://duriansoftware.com/joe/An-intro-to-modern-OpenGL.-Table-of-Contents.html[/url].
[QUOTE=ZeekyHBomb;25225953]kinda new cards (I think around [b]8000-series for GeForce[/b] and HD-series for AMD/ATi).[/QUOTE]
I have an 8800GT and it's nowhere near new
Wow indeed. Released 2006 according to Wikipedia.
Time goes by faster and faster.
[QUOTE=killman;25235191]Those tutorials are good, but they do not talk about the new OpenGL 3 core profile, which deprecates all of that in favor for a more flexible approach.
As for the availability of OpenGL 3, OpenGL 3 is like DirectX10, and if found in cards that support that.
A good tutorial for the core profile is [url]http://duriansoftware.com/joe/An-intro-to-modern-OpenGL.-Table-of-Contents.html[/url].[/QUOTE]
I would like to add that most of the GL3 approaches work equally well in GL2, but not vice-versa.
So you can learn and use the GL3∩GL2 subset of the API and it will work fine on older cards without relying on deprecated functionality.
My 8800GT still handles new games great. Consoles have crippled graphics advancements for us PC users it seems.
Sorry, you need to Log In to post a reply to this thread.