Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed on RPi3B+ Raspbian Stretch #1

Open
iDoka opened this issue May 11, 2019 · 0 comments
Open

Build failed on RPi3B+ Raspbian Stretch #1

iDoka opened this issue May 11, 2019 · 0 comments

Comments

@iDoka
Copy link

iDoka commented May 11, 2019

make BUILD=PI

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

meanwhile I already installed SDL2 and have neccesary include files:

SDL2/SDL.h
GL/gl.h
GLES2/gl2.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant