INSTALL
author unc0rr
Fri, 01 May 2009 09:01:44 +0000
changeset 2021 a591afb43768
parent 1853 5618915f9ea4
child 2083 1db8157e2f57
permissions -rw-r--r--
Some changes in try to fix issue when you enter room with painted map, but frontend shows generated one (most probably bug is triggered by template filters) Untested.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
273
3cc5b4dd6770 Add installation manual
unc0rr
parents:
diff changeset
     1
To compile and install you need:
1415
6fbfee0e113a Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents: 1006
diff changeset
     2
 - Qt >= 4.4
6fbfee0e113a Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents: 1006
diff changeset
     3
 - FreePascal >= 2.2.0
470
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
     4
 - SDL >= 1.2.5
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
     5
 - SDL_net >= 1.2.5
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
     6
 - SDL_mixer >= 1.2
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
     7
 - SDL_image >= 1.2
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
     8
 - SDL_ttf >= 2.0
499
d948311b33a3 Oops, sorry...
unc0rr
parents: 498
diff changeset
     9
 - CMake >= 2.4.4
1853
5618915f9ea4 Update INSTALL
unc0rr
parents: 1415
diff changeset
    10
 - QCA2 library
1006
8a0ed701eafb Some fixes
unc0rr
parents: 680
diff changeset
    11
470
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
    12
1. Configure:
1006
8a0ed701eafb Some fixes
unc0rr
parents: 680
diff changeset
    13
$ cmake .
273
3cc5b4dd6770 Add installation manual
unc0rr
parents:
diff changeset
    14
or
680
8ef26c8e8aa7 . is needed for cmake
displacer
parents: 663
diff changeset
    15
$ cmake -DCMAKE_CXX_FLAGS="flags" -DCMAKE_INSTALL_PREFIX="install prefix" -DDATA_INSTALL_DIR="data dir" .
470
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
    16
1415
6fbfee0e113a Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents: 1006
diff changeset
    17
add -DWITH_SERVER=1 to compile net server (requires Glasgow Haskell Compiler)
6fbfee0e113a Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents: 1006
diff changeset
    18
470
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
    19
2. Compile:
478
487cc99af415 users should compile and configure package under user account :)
displacer
parents: 470
diff changeset
    20
$ make
470
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
    21
86ca84d5da74 Update instructions
unc0rr
parents: 457
diff changeset
    22
3. Install:
273
3cc5b4dd6770 Add installation manual
unc0rr
parents:
diff changeset
    23
# make install
3cc5b4dd6770 Add installation manual
unc0rr
parents:
diff changeset
    24
457
35cc5a6c0e45 Don't let text file to confuse a terminal
unc0rr
parents: 456
diff changeset
    25
That's all! Enjoy!