[SDL] OpenGL linker errors?

VernJensen vern at actionsoft.com
Wed Nov 2 10:19:21 PDT 2011


MrOzBarry wrote:
> This could be the linker, or it could be that you don't have OpenGL >= 3.x supported by your graphics card.  Also, you need to be sure you are setting the gl context version to be at least 3.1 for most of the gl*buffer functions. -Alex
> 


I'm happy to try that, but hope you don't mind a simple question first... All of the functions I'm using that are giving me trouble are, according to the OpenGL online documentation, part of the 1.5 specification:

glGenBuffers
glBindBuffer
glBufferData
glBufferSubData
glDeleteBuffers

For instance, see the manal page for glGenBuffers at the bottom where it gives version info:
http://www.opengl.org/sdk/docs/man/xhtml/glGenBuffers.xml

"glGenBuffers is available only if the GL version is 1.5 or greater."

According to a test program I just ran, the version of OpenGL driver on my system is 2.1.

Same for all the functions above. The documentation states they are available in 1.5. If they required 3.x instead, it'd certainly make sense why they aren't linking. Are the manual pages incorrect, or I'm not understanding something correctly?




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20111102/524e6900/attachment.htm>


More information about the SDL mailing list