compositor.cpp: In member function ‘void Compositor::init(int, int, const char*)’:
compositor.cpp:115:22: error: ‘SDL_GL_PRESERVE_BUFFER’ was not declared in this scope
SDL_GL_SetAttribute(SDL_GL_PRESERVE_BUFFER, 1);
^~~~~~~~~~~~~~~~~~~~~~
Makefile:34: recipe for target '/home/pi/work/rpi_gui/BUILD_RPI/.objs/compositor.o' failed
make[1]: *** [/home/pi/work/rpi_gui/BUILD_RPI/.objs/compositor.o] Error 1
SDL2/SDL.h
GL/gl.h
GLES2/gl2.h
make BUILD=PI
meanwhile I already installed SDL2 and have neccesary include files: