Skip to content

Instantly share code, notes, and snippets.

@ssilverm
Last active April 29, 2024 15:13
Show Gist options
  • Save ssilverm/a92c72bcea506ff72794facde4352ff4 to your computer and use it in GitHub Desktop.
Save ssilverm/a92c72bcea506ff72794facde4352ff4 to your computer and use it in GitHub Desktop.
Building StepMania on a Raspberry Pi 4
# Update and Install Packages
sudo apt-get update
sudo apt-get install -y build-essential cmake mesa-common-dev libglu1-mesa-dev libglew1.5-dev libxtst-dev libxrandr-dev libpng-dev libjpeg-dev zlib1g-dev libbz2-dev libogg-dev libvorbis-dev libc6-dev yasm libasound-dev libpulse-dev binutils-dev libgtk-3-dev libmad0-dev libudev-dev libva-dev nasm pulseaudio
# Clone and Build StepMania
git clone --depth=1 https://github.com/stepmania/stepmania.git
cd stepmania
git submodule update --init
cd Build
cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DWITH_CRASH_HANDLER=OFF .. && cmake ..
make -j8
# Then reboot to activate PulseAudio
reboot
# Now run StepMania!
cd stepmania
./stepmania
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment