You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiled Cannonball on the Raspberry Pi 5 today (Raspberry Pi OS) and noticed that audio wasn't working, after inspecting the terminal I encountered errors such as the following:
Error initalizing audio using ALSA: Audio target 'alsa' not available raspberry pi
Installing the following packages and rebuilding and installing SDL2 manually (with CMAKE) resolved the issue for me:
sudo apt-get install libasound2-dev libpulse-dev
Extra note: Used the Pi4 cmake file, but can confirm that it works on the Pi5 as well. (cmake -DTARGET=pi4-opengles.cmake ./cmake/ -B ./build)
Hope this helps someone out there encountering the same issues. Happy gaming!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey all,
Compiled Cannonball on the Raspberry Pi 5 today (Raspberry Pi OS) and noticed that audio wasn't working, after inspecting the terminal I encountered errors such as the following:
Error initalizing audio using ALSA: Audio target 'alsa' not available raspberry pi
Installing the following packages and rebuilding and installing SDL2 manually (with CMAKE) resolved the issue for me:
Extra note: Used the Pi4 cmake file, but can confirm that it works on the Pi5 as well. (
cmake -DTARGET=pi4-opengles.cmake ./cmake/ -B ./build
)Hope this helps someone out there encountering the same issues. Happy gaming!
Beta Was this translation helpful? Give feedback.
All reactions