Skip to content

Raspberry pi 4 - sfml example project compilation issues #22

@TheMaverickProgrammer

Description

@TheMaverickProgrammer

I tried going with the R0-3 build steps first just in case R4 wasn't much different. While it compiled and installed I couldn't build the example programs.

The same for the DRM/KMS version. It would compile and install but no example projects would. Specifically it could not find GLES/gl.h which R4 does not have. Even after installing the recommended packages in the readme and online.

This thread is pretty insightful:
raspberrypi/firmware#1171

Other discussions online tend to agree: The “libgles1-mesa-dev” package is no longer available in Debian Buster.

SDL groups struggled with this back in '19:
https://discourse.libsdl.org/t/raspberry-pi-4-support-gles-1-1/26350/8

I'm pretty new to pi development but I know SFML without X11 support is exciting because we could port it to other embedded devices. I'm not sure what we can do about this. Is there a way to get sfml-pi running on pi4 with GLES somehow?

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