mirror of
https://github.com/Maschell/SDL2_Playground.git
synced 2024-11-23 13:19:16 +01:00
cmake | ||
src | ||
.gitignore | ||
.gitmodules | ||
CMakeLists.txt | ||
Makefile.pc-win | ||
Makefile.wiiu | ||
README.md |
Building
Windows with devkitPros version of msys2
Setup mingw:
- Add the mingw64 repository to
/etc/pacman.conf
.
[mingw64]
Server = https://repo.msys2.org/mingw/x86_64
- 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
Wii U
Install these libs from wiiu-fling:
pacman -S wiiu-fling/wiiu-sdl2 wiiu-fling/wiiu-sdl2_gfx wiiu-fling/wiiu-sdl2_image wiiu-fling/wiiu-sdl2_ttf
And these from dkp-libs:pacman -S devkitPPC wut-tools wut wiiu-portlibs dkp-libs/wiiu-sdl2_mixer
Build via:
make -f Makefile.wiiu