cginternals / cginternals/glbinding
Problem with glBufferData under MinGW GCC 9.2
- Dominant language
- C++
- Stars
- 877
- Forks
- 95
- PR merge metrics
- No merged PRs in 30d
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
> _ZN2gl15**glBufferDataARB**ENS_6GLenumExPKvS0_
> __imp__ZN2gl15**glBufferDataARB**ENS_6GLenumExPKvS0_
> _ZN2gl12**glBufferData**ENS_6GLenumExPKvS0_
> __imp__ZN2gl12**glBufferData**ENS_6GLenumExPKvS0_
Looking at the code, both methods are quite similar to me.
I'm puzzled. Some clues about what is going on?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.