ptitSeb
Serial Porter
Ah, yes, I had that also.I'm having trouble running Flying Snake with this version.
I've successfully compiled and linked the application but it fails to create a complete framebuffer object and compile shaders when it runs.
After crying on IRC for hours I think I've narrowed it down to it automatically initialising glshim without me asking it to. I use GLES2 so there might be an issue here. Even after trying to link the libGLESv2 in /usr/lib it still links the one in codeblocks according to ldd.
I'd really like to be able to use all the modern C++ features as well as a working build of SDL2
SDL2, when it sees a libGL lib, wants to use it, no mater what flag you pass it?!!!
So I hacked SDL2 to force it to use GLES2.
Use those export and it should work:
Code:
export SDL_VIDEO_GLES2=1
export SDL_VIDEO_GL_DRIVER=libGLESv2.so