Asi velmi nepomozem, ale dal som si tu namahu a stiahol zdrojaky tej hry, rozbalil, spustil scons vypisal mi par krat chybajuce zavyslosti, ktore som doinstaloval cez apt-get, ci uz balicky, alebo dev balicky a nasledne mi compilacia presla a hru som spustil.
nepisal som si vsetky ale tieto som priinstalovaval:
libsdl1.2debian
libsdl1.2debian-all
libsdl-mixer1.2
libsdl-image1.2
libsdl-ttf2.0-0
sudo apt-get install libboost-iostreams-dev
sudo apt-get install libsdl1.2-dev libsdl1.2debian
sudo apt-get install libsdl-net1.2 libsdl-net1.2-dev
sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev
sudo apt-get install libsdl-mixer1.2 libsdl-mixer1.2-dev
sudo apt-get install libsdl-ttf2.0-dev
sudo apt-get install libsdl-ttf2.0-0
sudo apt-get install liblua5.1-dev
...
Pre kompilaciu pouzil moj system:
gula@gula-laptop:~/westnoth/wesnoth-1.8$ /usr/bin/gcc --version
gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
gula@gula-laptop:~/westnoth/wesnoth-1.8$ /usr/bin/c++ --version
c++ (Ubuntu 4.4.1-4ubuntu9) 4.4.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Skusil som aj
cmake .
make
a taktiez preklad presiel bez problemov:
...
Linking CXX executable ../wesnoth
[ 98%] Built target wesnoth
Scanning dependencies of target wesnothd
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/ban.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/game.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/input_stream.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/metrics.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/player.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/player_network.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/proxy.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/room.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/room_manager.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/server.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/simple_wml.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/user_handler.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/forum_user_handler.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/server/sample_user_handler.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/network.cpp.o
[ 99%] Building CXX object src/CMakeFiles/wesnothd.dir/network_worker.cpp.o
[100%] Building CXX object src/CMakeFiles/wesnothd.dir/loadscreen_empty.cpp.o
Linking CXX executable ../wesnothd
[100%] Built target wesnothd