author | koda |
Thu, 25 Oct 2012 01:16:13 +0200 | |
changeset 7816 | a25e943dd4b0 |
parent 7562 | a79082c2a28e |
child 7954 | a5f0a6d46c52 |
permissions | -rw-r--r-- |
273 | 1 |
To compile and install you need: |
5053 | 2 |
- Qt >= 4.5 |
3322 | 3 |
- FreePascal >= 2.2.4 |
470 | 4 |
- SDL >= 1.2.5 |
5 |
- SDL_net >= 1.2.5 |
|
2549 | 6 |
- SDL_mixer >= 1.2 |
470 | 7 |
- SDL_image >= 1.2 |
8 |
- SDL_ttf >= 2.0 |
|
2083 | 9 |
- CMake >= 2.6.0 |
3301 | 10 |
- Lua >= 5.1.0 |
2141 | 11 |
For server: |
5053 | 12 |
- Glasgow Haskell Compiler >= 6.10 |
13 |
- bytestring-show package |
|
2141 | 14 |
- dataenc package |
15 |
- hslogger package |
|
1006 | 16 |
|
470 | 17 |
1. Configure: |
1006 | 18 |
$ cmake . |
273 | 19 |
or |
5053 | 20 |
$ cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="install_prefix" \ |
7562
a79082c2a28e
koda changed the CMake flag w/o updating the wiki or INSTALL file :(
nemo
parents:
5053
diff
changeset
|
21 |
-DDATA_INSTALL_DIR="data_dir" -DNOSERVER=1 . |
470 | 22 |
|
7562
a79082c2a28e
koda changed the CMake flag w/o updating the wiki or INSTALL file :(
nemo
parents:
5053
diff
changeset
|
23 |
add -DNOSERVER=0 to compile net server; if you have Qt installed but it is |
5053 | 24 |
not found you can set it up with -DQT_QMAKE_EXECUTABLE="path_to_qmake" |
1415
6fbfee0e113a
Allow build without net game server: introduce -DWITH_SERVER configuration parameter
unc0rr
parents:
1006
diff
changeset
|
25 |
|
470 | 26 |
2. Compile: |
478
487cc99af415
users should compile and configure package under user account :)
displacer
parents:
470
diff
changeset
|
27 |
$ make |
470 | 28 |
|
29 |
3. Install: |
|
273 | 30 |
# make install |
31 |
||
2220 | 32 |
|
457 | 33 |
That's all! Enjoy! |