-
Notifications
You must be signed in to change notification settings - Fork 0
Building
Korrow edited this page Jun 11, 2016
·
1 revision
These steps are based off of the steps for building Allegro with MSYS2
- Install MSYS2 x86_64 from https://msys2.github.io/
- Run MSYS2 in MinGW w64 mode
-
CMake
pacman -S mingw64/mingw-w64-x86_64-cmake -
GCC
pacman -S mingw64/mingw-w64-x86_64-gcc -
SDL2
pacman -S mingw64/mingw-w64-x86_64-SDL2 pacman -S mingw64/mingw-w64-x86_64-SDL2_image -
pkg-config
pacman -S mingw64/mingw-w64-x86_64-pkg-config -
make (MSYS version)
pacman -S msys/make
-
Run the build using MSYS Makefiles, specifying the mingw64 toolchain
cmake -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/mingw64/x86_64-w64-mingw32 .. make -
When you run the built executables Windows will complain about several missing DLL files. You search for these and place them next to the executable for the time being (not yet sure what the long term solution to this is).