-
Notifications
You must be signed in to change notification settings - Fork 27
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
Raspberry pi 4 - sfml example project compilation issues #22
Comments
While I haven't tested it very much at all in theory you should be able to compile on a Pi4 with GLES using the following flags in cmake:
|
The pi 4 seems to have other required dependencies missing
|
I managed to successfully build some examples by doing the following:
But the exe won't run because it is missing some linker symbols.
|
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?
The text was updated successfully, but these errors were encountered: