- Install
sudo apt install -y libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev
library mkdir build && cd build
cmake ..
make -j
- Run program from source directory:
./build/pacman_sdl
docker build -t pacman_sdl .
⚠️ This may work differently depending on the system
xhost + local:docker
docker run -it --rm --env="DISPLAY" --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" pacman_sdl /ws/build/pacman_sdl