INSTALL
changeset 2141 3b06505dbd5d
parent 2107 9f3e6ed06b3e
child 2220 110266ba2ef7
equal deleted inserted replaced
2140:75e5c4fcae2a 2141:3b06505dbd5d
     5  - SDL_net >= 1.2.5
     5  - SDL_net >= 1.2.5
     6  - SDL_mixer >= 1.2
     6  - SDL_mixer >= 1.2
     7  - SDL_image >= 1.2
     7  - SDL_image >= 1.2
     8  - SDL_ttf >= 2.0
     8  - SDL_ttf >= 2.0
     9  - CMake >= 2.6.0
     9  - CMake >= 2.6.0
       
    10 For server:
       
    11  - Glasgow Haskell Compiler 6.8.3
       
    12  - dataenc package
       
    13  - hslogger package
    10 
    14 
    11 1. Configure:
    15 1. Configure:
    12 $ cmake .
    16 $ cmake .
    13 or
    17 or
    14 $ cmake -DCMAKE_CXX_FLAGS="flags" -DCMAKE_INSTALL_PREFIX="install prefix" -DDATA_INSTALL_DIR="data dir" .
    18 $ cmake -DCMAKE_CXX_FLAGS="flags" -DCMAKE_INSTALL_PREFIX="install prefix" -DDATA_INSTALL_DIR="data dir" .
    15 
    19 
    16 add -DWITH_SERVER=1 to compile net server (requires Glasgow Haskell Compiler 6.8.3)
    20 add -DWITH_SERVER=1 to compile net server
    17 
    21 
    18 2. Compile:
    22 2. Compile:
    19 $ make
    23 $ make
    20 
    24 
    21 3. Install:
    25 3. Install: