Changes between Version 378 and Version 379 of BuildInstructions
- Timestamp:
- Nov 27, 2020, 12:42:04 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildInstructions
v378 v379 101 101 * libcurl (at least 7.32) 102 102 * libenet (1.3, the older 1.2 is not compatible) 103 * libfmt (at least 4.0) 103 104 * 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) 104 105 * libicu … … 135 136 libminiupnpc-dev libnvtt-dev libogg-dev libopenal-dev \ 136 137 libpng-dev libsdl2-dev libvorbis-dev libxcursor-dev \ 137 libxml2-dev python subversion zlib1g-dev lib enet-dev \138 libxml2-dev python subversion zlib1g-dev libfmt-dev \ 138 139 libboost-system-dev libsodium-dev 139 140 }}} … … 171 172 boost-devel libcurl-devel enet-devel libpng-devel libsodium-devel libvorbis-devel \ 172 173 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 174 175 }}} 175 176 … … 184 185 libcurl-devel libenet-devel libpng-devel libsodium-devel libvorbis-devel \ 185 186 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 187 188 }}} 188 189 … … 190 191 {{{ 191 192 #!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 awk193 pacman -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 193 194 }}} 194 195 … … 196 197 {{{ 197 198 #!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 199 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 fmt-devel 199 200 }}} 200 201 … … 210 211 211 212 * enet 213 * fmt 212 214 * gloox 213 215 * libsodium … … 342 344 - Within this file, enter the text `/usr/local/lib` and save. 343 345 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`. 346 6. 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 350 7. 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`. 345 351 346 352 ==== !VoidLinux ==== 347 353 {{{ 348 354 #!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 zlib355 sudo 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 350 356 }}} 351 357 If there are issues, install more header files depending on the compiler's error message. … … 517 523 {{{ 518 524 #!sh 519 pkg install boost-libs cmake curl enet gloox gmake iconv libGL libogg \525 pkg install boost-libs cmake curl enet fmt gloox gmake iconv libGL libogg \ 520 526 libsodium libvorbis libxml2 miniupnpc openal pkgconf png sdl2 subversion \ 521 527 wx30-gtk2 zip … … 545 551 {{{ 546 552 #!sh 547 pkg_add -i boost cmake curl enet g++ gcc gloox gmake icu4c libexecinfo libogg libsodium\548 lib xml miniupnpc openal png sdl2 subversion zip553 pkg_add -i boost cmake curl enet fmt g++ gcc gloox gmake icu4c libexecinfo libogg \ 554 libsodium libxml miniupnpc openal png sdl2 subversion zip 549 555 }}} 550 556 * 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.