INSTALL
author koda
Sat, 24 Nov 2012 01:30:46 +0100
changeset 8119 257ffa847aa2
parent 7954 a5f0a6d46c52
child 8120 67c3201365b1
permissions -rw-r--r--
physfs: no carbon depency on osx, add cdecl attributes on extra functions

To compile and install you need:
 - Qt >= 4.5
 - FreePascal >= 2.2.4
 - 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
 - Lua >= 5.1.0
For server:
 - Glasgow Haskell Compiler >= 6.10
 - bytestring-show package
 - dataenc package
 - hslogger package
For videorecording:
 - FFmpeg or LibAV
 - GLUT (when SDL < 2)

1. Configure:
$ cmake .
or
$ cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="install_prefix" \
-DDATA_INSTALL_DIR="data_dir" -DNOSERVER=1 .

add -DNOSERVER=0 to compile net server; if you have Qt installed but it is
not found you can set it up with -DQT_QMAKE_EXECUTABLE="path_to_qmake"

2. Compile:
$ make

3. Install:
# make install


That's all! Enjoy!