Open
Description
( using CMake 3.16.4, MinGW Makefiles, MinGW 64 GCC 9.2, Windows 10 )
Compiling cubescape example I'm getting this link error:
glbinding/source/examples/cubescape/CubeScape.cpp:172: undefined reference to `gl::glBufferData(gl::GLenum, unsigned long long, void const*, gl::GLenum)'
Curiously it works if I change glBufferData by glBufferDataARB
It seems that both methods are in libglbinding.dll.a:
objconv -dH libglbinding.dll.a | grep -i glbufferdata
ZN2gl15glBufferDataARBENS_6GLenumExPKvS0
_imp__ZN2gl15glBufferDataARBENS_6GLenumExPKvS0
ZN2gl12glBufferDataENS_6GLenumExPKvS0
_imp__ZN2gl12glBufferDataENS_6GLenumExPKvS0
Looking at the code, both methods are quite similar to me.
I'm puzzled. Some clues about what is going on?
Metadata
Metadata
Assignees
Labels
No labels