Changes between Version 378 and Version 379 of BuildInstructions


Ignore:
Timestamp:
Nov 27, 2020, 12:42:04 AM (3 years ago)
Author:
s0600204
Comment:

Add the fmt dependancy to the dependency lists

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructions

    v378 v379  
    101101 * libcurl (at least 7.32)
    102102 * libenet (1.3, the older 1.2 is not compatible)
     103 * libfmt (at least 4.0)
    103104 * libgloox (needed for the lobby; at least 1.0.10, previous versions are know to have connection problems; pass `--without-lobby` to `update-workspaces.sh` to exclude the lobby)
    104105 * libicu
     
    135136    libminiupnpc-dev libnvtt-dev libogg-dev libopenal-dev   \
    136137    libpng-dev libsdl2-dev libvorbis-dev libxcursor-dev  \
    137     libxml2-dev python subversion zlib1g-dev libenet-dev \
     138    libxml2-dev python subversion zlib1g-dev libfmt-dev \
    138139    libboost-system-dev libsodium-dev
    139140}}}
     
    171172    boost-devel libcurl-devel enet-devel libpng-devel libsodium-devel libvorbis-devel \
    172173    libxml2-devel openal-soft-devel pkgconfig SDL2-devel wxGTK3-devel  \
    173     gloox-devel libicu-devel miniupnpc-devel
     174    gloox-devel libicu-devel miniupnpc-devel fmt-devel
    174175}}}
    175176
     
    184185    libcurl-devel libenet-devel libpng-devel libsodium-devel libvorbis-devel  \
    185186    libxml2-devel openal-soft-devel pkg-config wxWidgets-devel libSDL2-devel     \
    186     gloox-devel libicu-devel miniupnpc-devel
     187    gloox-devel libicu-devel miniupnpc-devel libfmt-devel
    187188}}}
    188189
     
    190191{{{
    191192#!sh
    192 pacman -S --needed boost cmake curl enet gcc gloox icu libgl libogg libpng libsodium libvorbis libxcursor libxml2 miniupnpc patch sdl2 subversion wxgtk zip zlib make python python2 pkg-config grep awk
     193pacman -S --needed boost cmake curl enet fmt gcc gloox icu libgl libogg libpng libsodium libvorbis libxcursor libxml2 miniupnpc patch sdl2 subversion wxgtk zip zlib make python python2 pkg-config grep awk
    193194}}}
    194195
     
    196197{{{
    197198#!sh
    198 sudo eopkg install libboost-devel curl-devel enet-devel gloox-devel libicu-devel libogg-devel libpng-devel libsodium-devel libvorbis-devel libxcursor-devel libxml2-devel miniupnpc-devel openal-soft-devel mesalib-devel sdl2-devel zlib-devel wxwidgets-devel libgnutls-devel
     199sudo eopkg install libboost-devel curl-devel enet-devel gloox-devel libicu-devel libogg-devel libpng-devel libsodium-devel libvorbis-devel libxcursor-devel libxml2-devel miniupnpc-devel openal-soft-devel mesalib-devel sdl2-devel zlib-devel wxwidgets-devel libgnutls-devel fmt-devel
    199200}}}
    200201
     
    210211
    211212 * enet
     213 * fmt
    212214 * gloox
    213215 * libsodium
     
    342344     - Within this file, enter the text `/usr/local/lib` and save.
    343345
    344 6. You should now have all dependencies for 0 A.D. Continue by [#Gettingthecode getting the code], as described below. When you get to the part below in [#Building Building] where you run `./update-workspaces.sh`, you **must** use the argument `--prefer-local-libs`.
     3466. Acquire a sufficiently recent version of //fmt//:
     347   * From https://github.com/fmtlib/fmt/releases, download the latest release.
     348   * Follow the instructions to build and install.
     349
     3507. You should now have all dependencies for 0 A.D. Continue by [#Gettingthecode getting the code], as described below. When you get to the part below in [#Building Building] where you run `./update-workspaces.sh`, you **must** use the argument `--prefer-local-libs`.
    345351
    346352==== !VoidLinux ====
    347353{{{
    348354#!sh
    349 sudo xbps-install -Syv base-devel boost-devel cmake curl gcc icu-devel libcurl-devel libenet-devel libogg-devel libopenal-devel libpng-devel libsodium-devel libvorbis-devel libXcursor libxml2 MesaLib-devel miniupnpc-devel patch pkg-config SDL2-devel wxWidgets-devel zip zlib
     355sudo xbps-install -Syv base-devel boost-devel cmake curl fmt-devel gcc icu-devel libcurl-devel libenet-devel libogg-devel libopenal-devel libpng-devel libsodium-devel libvorbis-devel libXcursor libxml2 MesaLib-devel miniupnpc-devel patch pkg-config SDL2-devel wxWidgets-devel zip zlib
    350356}}}
    351357If there are issues, install more header files depending on the compiler's error message.
     
    517523{{{
    518524#!sh
    519 pkg install boost-libs cmake curl enet gloox gmake iconv libGL libogg          \
     525pkg install boost-libs cmake curl enet fmt gloox gmake iconv libGL libogg          \
    520526     libsodium libvorbis libxml2 miniupnpc openal pkgconf png sdl2 subversion        \
    521527     wx30-gtk2 zip
     
    545551{{{
    546552#!sh
    547 pkg_add -i boost cmake curl enet g++ gcc gloox gmake icu4c libexecinfo libogg libsodium \
    548     libxml miniupnpc openal png sdl2 subversion zip
     553pkg_add -i boost cmake curl enet fmt g++ gcc gloox gmake icu4c libexecinfo libogg \
     554    libsodium libxml miniupnpc openal png sdl2 subversion zip
    549555}}}
    550556 * As OpenBSD's packaged libxml isn't build with threading support, building Atlas is not possible so you should run `update-workspaces.sh` with the `--disable-atlas` option.