SDL2_Playground/README.md

1017 B

Building

Windows with devkitPros version of msys2

Setup mingw:

  1. Add the mingw64 repository to /etc/pacman.conf.
[mingw64]
Server = https://repo.msys2.org/mingw/x86_64
  1. Install packages (List taken from here)
pacman -Syu
pacman -S git mingw-w64-x86_64-toolchain mingw64/mingw-w64-x86_64-SDL2 mingw64/mingw-w64-x86_64-SDL2_mixer mingw64/mingw-w64-x86_64-SDL2_image mingw64/mingw-w64-x86_64-SDL2_ttf mingw64/mingw-w64-x86_64-SDL2_net mingw64/mingw-w64-x86_64-cmake mingw-w64-x86_64-glm make
make -f .\Makefile.pc-win

Windows with docker

docker build . -f .\Dockerfile.pc-win  -t sdl2_playground-builder-pc-win
docker run -it --rm -v ${PWD}:/project sdl2_playground-builder-pc-win make -f .\Makefile.pc-win -j16

Wii U

And these from dkp-libs:

  • (dkp)pacman -S devkitPPC wut-tools wut wiiu-portlibs wiiu-sdl2-libs

Build via: make -f Makefile.wiiu