INSTALL
author nemo
Mon, 15 Jun 2009 21:03:57 +0000
changeset 2167 4e9ad395c1d1
parent 2141 3b06505dbd5d
child 2220 110266ba2ef7
permissions -rw-r--r--
Loop sweeping to avoid stray pixels. Avoided at first hoping there was a cleverer approach. Fortunately sweep is infrequent.

To compile and install you need:
 - Qt >= 4.4
 - FreePascal >= 2.2.0
 - SDL >= 1.2.5
 - SDL_net >= 1.2.5
 - SDL_mixer >= 1.2
 - SDL_image >= 1.2
 - SDL_ttf >= 2.0
 - CMake >= 2.6.0
For server:
 - Glasgow Haskell Compiler 6.8.3
 - dataenc package
 - hslogger package

1. Configure:
$ cmake .
or
$ cmake -DCMAKE_CXX_FLAGS="flags" -DCMAKE_INSTALL_PREFIX="install prefix" -DDATA_INSTALL_DIR="data dir" .

add -DWITH_SERVER=1 to compile net server

2. Compile:
$ make

3. Install:
# make install

That's all! Enjoy!