OpenGL Version under MinGW g++

Hi all,

I’m trying to compile code that uses VBOs, but I kept getting errors that showed that the OpenGL version that I was compiling with didn’t have 1.5+ things (like GL_ARRAY_BUFFER, for example). I checked the version of OpenGL that it was being run with (via GL_VERSION_X_Y) and it shows that it’s version 1.3.

However I checked my computer’s OpenGL version with a utility and it says that I have OpenGL 2.1, so I’m wondering how I can update/change the compile flags for g++ on MinGW so that I can compile code using definitions from later versions of OpenGL.

Thanks!

Not certain but sounds like using glew may help. Otherwise you will have to manually get the function pointers manually

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.