Skip to content
badgerman edited this page Jan 18, 2013 · 15 revisions

What is this?

This repository contains an example server that uses the Eressea source code to simulate a world code-named "Arda". The repository is mainly meant as a starting point that you can clone your own server from which you would then extend to implement the game you want to make.

Prerequisites

Eressea depends on a number of external libraries. On Ubuntu, this is the apt-get command you need to install all of them:

sudo apt-get install git cmake gcc make libxml2-dev liblua5.1-dev libtolua-dev libncurses5-dev libsqlite3-dev

How to check out and build the Arda server

This repository relies heavily on the use of submodules, and it pulls in most of the code from those. The build system being used is cmake, which can create Makefiles on Unix, or Visual Studio project files on Windows. Here's how you clone and build the source on Ubuntu:

git clone git://github.com/eressea/server.git
cd server
git submodule update --init
mkdir Debug
cd Debug
cmake .. -DCMAKE_MODULE_PATH=$PWD/../cmake/Modules -DCMAKE_BUILD_TYPE=Debug
make all test

If you got this far and all went well, you have built a server (in the Debug/server subdirectory), and it will have passed some basic functionality tests.

Clone this wiki locally