diff options
author | krzys-h <krzys_h@interia.pl> | 2014-04-02 22:27:57 +0200 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2014-04-02 22:27:57 +0200 |
commit | c93f91b1ba0b3052337de3740cd4bc9c5b4bc095 (patch) | |
tree | fb753dfd509bb6358a7dc284aebac0ea8e3871cc /INSTALL.md | |
parent | dd70478c413be704461230743fca23eb9a7f85d3 (diff) | |
download | colobot-c93f91b1ba0b3052337de3740cd4bc9c5b4bc095.tar.gz colobot-c93f91b1ba0b3052337de3740cd4bc9c5b4bc095.tar.bz2 colobot-c93f91b1ba0b3052337de3740cd4bc9c5b4bc095.zip |
Updated INSTALL file
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -117,12 +117,23 @@ You will need: * OpenAL (OpenAL-Soft) >= 1.13 * po4a >= 0.45 (to generate translated data files) +On Ubuntu (and probably any other Debian-based system), you can use the following command to install all required packages: +``` + $ apt-get install build-essential cmake libsdl1.2debian libsdl1.2-dev libsdl-image1.2 libsdl-image1.2-dev libsdl-ttf2.0-0 libsdl-ttf2.0-dev libsdl-mixer1.2 libsdl-mixer1.2-dev libsndfile1-dev libvorbis-dev libogg-dev libpng12-dev libglew-dev libopenal-dev libboost-dev libboost-system-dev libboost-filesystem-dev libboost-regex-dev git +``` + Make sure you install the packages along with header files (often distributed in separate *-dev packages). If you miss any requirements, CMake should warn you. -To compile colobot, run your favorite shell and change the directory to where you downloaded colobot source files: +To compile colobot, run your favorite shell and download colobot source files: ``` + $ git clone https://github.com/colobot/colobot.git /path/to/colobot/sources $ cd /path/to/colobot/sources + $ git submodule update --init +``` +If you want to compile development branch, change the first command to: +``` + $ git clone -b dev https://github.com/colobot/colobot.git /path/to/colobot/sources ``` It is recommended that you create a build directory: ``` |