Skip to content

Build failed on RPi3B+ Raspbian Stretch #1

Description

@iDoka

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions