Aug, 02
Compiling KeeperRL on Windows

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

COMMENTS

Home Forums Compiling KeeperRL on Windows

  • You must be logged in to reply to this topic.

 LATEST NEWS

Aug, 24

Upcoming features in KeeperRL 1.0

In the last news update I revealed that KeeperRL will leave Early Access in the next (major) patch, and that it will bring some big gameplay changes. It's finally time to share... more

Jun, 29

KeeperRL will leave Early Access with the next update

When I launched the Indiegogo campaign to fund KeeperRL nine years ago, I promised a 1.0 release by the end of 2014. This kinda didn't happen, but I've always been committed to... more

May, 11

Live Stream #2: procedural level design on May 12th, 9:00 UTC

Come in for another episode of KeeperRL Live Steam on Friday! This time I will be creating new Z-level content using my awesome moddable proc-gen framework. Update: you can... more

May, 02

KeeperRL Lag Fest concluded!

The Lag Fest finished last Thursday! I've received a total of three save files from Rarasek and Soft Monster, and I analyzed them during the live stream. I managed to come up... more

Apr, 13

Contest announcement: KeeperRL Lag Fest

I've been working a lot on optimizations for the past few game updates, and my impression is that the game has started to run really fine even with large dungeons. Now I want... more

 

 PLAYERS SAID

There are no other games out there like KeeperRL. The game is a unique mixture of management, levelling, crafting, constructing, exploring, adventure etc. […] The possibility of interacting with other’s players monumental dungeons turn KeeperRL into one of the most promising games I’ve found.

dbvel

This game is amazing! It’s challenging, fun, unique, and exactly what you might expect it to be. For an early access game it’s incredible. And the thought that there’s more to come thrills me! I can’t wait to see how this awesome game will develop even more.

Avarti

Any time I touch another race, I get bent over like a cheap, overworked sex worker. I love sucking at this game so much.

DaavPuke