How To Compile

MAngband comes with an autotools based build system and compiling is easy on most platforms (once you have the required tools).

Compiling on Linux

The first step is to get the latest source code! You can grab this from the download page or alternatively download it directly from the online Subversion repository. If you don't have a Subversion client installed you can do that easily on Ubuntu or Debian simply with:

sudo apt-get install subversion

Once you have subversion, download, compile and run like this:

svn co http://mangband.org/svn/mangband/branches/version-1_1_0 mangband
cd mangband/src
./configure
make
cd ..

Then run with:

./mangclient

Note that if you have the SDL libraries installed but don't want the SDL (one window) client, run configure as "./configure --without-sdl"

Compiling on Windows

To checkout the latest stable sources on Windows using something like TortoiseSVN enter the repository path:


   http://mangband.org/svn/mangband/branches/version-1_1_0

There are pre-built installers for both the client and server available on the download page and it's recommended you simply use them.

If you really want to compile your own Windows client or server you can do this in several ways. The method supported out-of-the-box is compiling with MinGW. If you install this along with msys you can follow the same simple ./configure then make approach as the Linux instructions above. The build system will then automatically take care of everything.

There is a Visual Studio project for the 1.1.0 client floating around, asking around in the forums is probably the best way to get this right now.