BuildingOnLinux.wiki
changeset 247 1b87576183da
parent 241 db33e09cb9cd
child 248 96d8ee67f2bc
equal deleted inserted replaced
246:7b1a6c46c3b5 247:1b87576183da
     1 #summary Instructions for building Hedgewars on Linux (debian focus)
     1 #summary Instructions for building Hedgewars on Linux (debian focus)
     2 #labels Phase-Implementation,Phase-Deploy,Phase-Support
     2 #labels Phase-Implementation,Phase-Deploy,Phase-Support
     3 
     3 
     4 = Introduction =
     4 = Introduction =
     5 
     5 
     6 Please see the original post here: http://www.hedgewars.org/node/2215#comment-15049
     6 Copy and Paste instructions for a Hedgewars build. Should work on Debian and the like (Ubuntu, Mint).  Packages for other distros should have similar names.  Remember to copy the *entire* apt-get lines!
     7 
       
     8 
     7 
     9 = Prerequisites =
     8 = Prerequisites =
    10 
     9 
    11 {{{
    10 {{{
    12 sudo apt-get install mercurial cmake qt4-qmake libqt4-dev libsdl1.2-dev libsdl-net1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev liblua5.1-dev fpc
    11 sudo apt-get install mercurial cmake qt4-qmake libqt4-dev libsdl1.2-dev libsdl-net1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev liblua5.1-dev fpc
    13 }}}
    12 }}}
    14 note, if you want to try building the server as well (requires at least libghc base 4.3 right now) try these too:
    13 If you want PNG screenshots, add:
       
    14 {{{
       
    15 sudo apt-get install libpng12-dev
       
    16 }}}
       
    17 If you want video recording, add:
       
    18 {{{
       
    19 sudo apt-get install libavcodec-dev libavformat-dev
       
    20 }}}
       
    21 If you want to try building the server as well (requires at least libghc base 4.3 now) try these too:
    15 {{{
    22 {{{
    16 sudo apt-get install ghc libghc-binary-dev libghc-bytestring-show-dev libghc-dataenc-dev libghc-deepseq-dev libghc-hslogger-dev libghc-mtl-dev libghc-network-dev libghc-parsec3-dev libghc-utf8-string-dev
    23 sudo apt-get install ghc libghc-binary-dev libghc-bytestring-show-dev libghc-dataenc-dev libghc-deepseq-dev libghc-hslogger-dev libghc-mtl-dev libghc-network-dev libghc-parsec3-dev libghc-utf8-string-dev
    17 }}}
    24 }}}
    18 
    25 
    19 = Building process =
    26 = Building process =