Download Msys2 from http://www.msys2.org/
Run the installer, it should open the msys2 console when finished, if not run it from the start menu.
Update the package database and core system packages by typing this in the console:
pacman -Syu
Close the console when it tells you to and start it again from the start menu. Choose the 32-bit version.
(we will compile the 32-bit version of KeeperRL, the game works the same regardless if it’s 32 or 64-bit)
Type this in the console:
pacman -Su
Now your Msys2 installation is ready and we can get it to compile KeeperRL.
Start with installing git:
pacman -S git
Now you can download KeeperRL’s source code:
git clone https://github.com/miki151/keeperrl.git
The following commands will install the compiler and necessary libraries:
pacman -S make
pacman -S mingw-w64-i686-gcc
pacman -S mingw-w64-i686-SDL2
pacman -S mingw-w64-i686-SDL2_image
pacman -S mingw-w64-i686-curl
pacman -S mingw-w64-i686-openal
pacman -S mingw-w64-i686-pkg-config
pacman -S mingw-w64-i686-libvorbis
Now you can compile KeeperRL:
cd keeperrl
make -f Makefile-win -j4 DEBUG=true OPT=true RELEASE=true
If the command above doesn’t end with an error (warnings are ok), then KeeperRL should be built. Try running it with:
./keeper.exe
The turn-based 'roguelike' mode is an important and distinguishing feature of KeeperRL, yet something that still causes a lot of friction for players. The main problem is that... more
KeeperRL has been in development since early 2013, and in a few weeks it will be seven years since the release of Alpha 1. When KeeperRL went on sale its initial price was $15,... more
KeeperRL Alpha 31 is released! The two major features brought by this update are the new Warlord game mode and moddable randomly generated maps. Check out the rundown below to... more
I'm slowly wrapping up the Alpha 31 update, and while it won't be nearly as massive as the previous patch, it will bring two very interesting features. Warlord mode Having... more
You might have noticed a bit of radio silence from me in the last couple of months, and this is because I've been somewhat burnt out after the six-month push for the Alpha 30... more
Home › Forums › Compiling KeeperRL on Windows