INSTALL
author unc0rr
Thu, 12 Mar 2009 20:29:01 +0000
changeset 1888 e76274ce7365
parent 1853 5618915f9ea4
child 2083 1db8157e2f57
permissions -rw-r--r--
Add an ability to run engine without IPC connection. It requires two parameters: 1) ful path to share/hedgewars/Data 2) full path to record file (hwd_24 or hws_24) debug #0.txt will be created it path passed in 1st param

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.4.4
 - QCA2 library

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 (requires Glasgow Haskell Compiler)

2. Compile:
$ make

3. Install:
# make install

That's all! Enjoy!