-
Notifications
You must be signed in to change notification settings - Fork 70
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
Cannot compile SDL on Raspberry Pi #135
Comments
I also happen to be trying to compile SDL using the simple2d.sh script on a raspberry pi and have encountered the same error. I have determined that the installation is failing because SDL fails to compile during the installation process due to a compile error.
There is a bug tracking thread where others are having a similar issue when trying to compile SDL for the raspberry pi. This issue on Github claims to have fixed the issue by including Perhaps the simplest way to resolve this is to compile a more recent version of SDL that includes the patches made from both of the previous links. Any SDL release after November of 2021 should suffice. I used the most recent version 2.0.22 by changing one line in the simple2d.sh script: sdl_fname="SDL2-2.0.22"
sdl_url="${libsdl_url}/release/${sdl_fname}.tar.gz" This change compiled SDL successfully without the previous error. SDL_Mixer also does not compile with the error.
I changed to a more recent SDL_Mixer version to solve this one as there was no documentation of others having this issue. The simple2d.sh script pulls all SDL releases from https://www.libsdl.org, but new releases for SDL_Mixer are no longer posted there, so I pulled from the Github repository instead. If libsdl.org is no longer including the most recent releases, perhaps it is time to use the Github releases for the script. |
Hi, I'm trying to compile SDL on Raspberry Pi OS using the script simple2d.sh:
it fails with messages:
Is it possible to fix that?
Thanks!
The text was updated successfully, but these errors were encountered: