Skip to content

Compiling on the Raspberry Pi 4 (Raspbian Buster)

Chase Cobb edited this page May 3, 2020 · 5 revisions

Update Buster
sudo apt-get update; sudo apt-get upgrade
sudo reboot

Create a build environment
cd ~; mkdir develop

Install dependencies
sudo apt-get install cmake libflac-dev libogg-dev libvorbis-dev libavutil-dev libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavresample-dev libopenal-dev libfreetype6-dev libudev-dev libjpeg-dev libudev-dev libfontconfig1-dev libglu1-mesa-dev libsfml-dev libxinerama-dev libcurl4-openssl-dev

Download and build Attract-Mode
cd ~/develop
git clone --depth 1 https://github.com/mickelson/attract attract
cd attract
make USE_XINERAMA=1 USE_LIBCURL=1
sudo make install USE_XINERAMA=1 USE_LIBCURL=1

Delete build files
cd ~; rm -r -f ./develop