author | Wuzzy |
Wed, 18 Sep 2019 00:36:39 +0100 | |
changeset 1978 | 8aa416c2647a |
parent 1954 | 1e0fad9c1a4e |
child 2003 | 3ef8ba6afe0b |
permissions | -rw-r--r-- |
1101 | 1 |
#summary List of programs and libraries for building and/or running Hedgewars |
508 | 2 |
|
761 | 3 |
= Dependencies = |
1101 | 4 |
== Dependencies for fetching latest source code == |
5 |
If you want to get the source code from the mercurial repository, you'll need these. |
|
508 | 6 |
|
7 |
|| *Name* || *Homepage* || |
|
1104 | 8 |
|| Mercurial || [https://www.mercurial-scm.org/] || |
508 | 9 |
|
761 | 10 |
== Build-only dependencies == |
508 | 11 |
You need these packages to build Hedgewars, but not afterwards. |
12 |
||
1100 | 13 |
|| *Name* || *Version* (Latest HW release) || *Version* (Unstable) || *Homepage* || |
1104 | 14 |
|| CMake || 2.6 || 2.6 || [https://www.cmake.org/] || |
508 | 15 |
|
761 | 16 |
== Core dependencies == |
1101 | 17 |
You need these programs and libraries to build and run Hedgewars. |
508 | 18 |
Note: You will need the development headers of the libraries for building only. |
19 |
||
1100 | 20 |
|| *Name* || *Version* (Latest HW release) || *Version* (Unstable) || *Homepage* || |
1324 | 21 |
|| Qt || 5.0.0 || 5.0.0 || [https://www.qt.io/] || |
1110 | 22 |
|| SDL || 2.0 || 2.0 || [https://libsdl.org/] || |
23 |
|| SDL_net || 2.0 || 2.0 || [https://libsdl.org/] || |
|
24 |
|| SDL_mixer || 2.0 || 2.0 || [https://libsdl.org/] || |
|
25 |
|| SDL_image || 2.0 || 2.0 || [https://libsdl.org/] || |
|
1104 | 26 |
|| SDL_TTF || 2.0 || 2.0 || [https://libsdl.org/] || |
27 |
|| FPC (Free Pascal Compiler) || 2.2.4 || 2.2.4 || [https://freepascal.org/] || |
|
1690 | 28 |
|| PhysFS || 3.0.0 || 3.0.0 || [https://icculus.org/physfs/] || |
508 | 29 |
|
1264 | 30 |
== Recommended dependency == |
1892 | 31 |
This is not strictly required, but recommended (no longer the case for 1.0.0-dev and beyond): |
1264 | 32 |
|
33 |
|| *Name* || *Homepage* || |
|
34 |
|| qtstyleplugins || [https://github.com/qt/qtstyleplugins] || |
|
35 |
||
761 | 36 |
== Bundled dependencies == |
1101 | 37 |
You can build/run Hedgewars using these packages from your system or use those that come with the Hedgewars source: |
508 | 38 |
|
1100 | 39 |
|| *Name* || *Version* (Latest HW release) || *Version* (Unstable) || *Homepage* || |
1104 | 40 |
|| Lua || 5.1 (exactly) || 5.1 (exactly) || [https://www.lua.org/] || |
508 | 41 |
|
42 |
Bundled Fonts: |
|
43 |
|| *Name* || *Homepage* || *Comment* || |
|
44 |
|| !DejaVu Sans Bold || [http://dejavu-fonts.org/] || — || |
|
45 |
|| Zen Hei || [http://wenq.org/] || From the !WenQuanYi project. Font is internally known as “wgy-zenhei” || |
|
46 |
||
761 | 47 |
== Optional dependencies == |
508 | 48 |
You don’t need to install these packages to build Hedgewars, but if you don’t, some features will be missing. |
49 |
||
1101 | 50 |
=== For PNG screenshots === |
508 | 51 |
|| *Name* || *Version* || *Homepage* || |
52 |
|| libpng || 1.2 || [http://www.libpng.org/pub/png/libpng.html] || |
|
53 |
||
1954 | 54 |
Without this, all screenshots will be bitmaps (BMP) instead. |
55 |
||
1101 | 56 |
=== Video recording === |
57 |
For the video recorder, you need either FFmpeg _or_ Libav. And FreeGLUT. |
|
58 |
||
508 | 59 |
|| *Name* || *Version* || *Homepage* || |
1104 | 60 |
|| FFmpeg || ??? || [https://ffmpeg.org/] || |
1102 | 61 |
|| Libav || ??? || [https://libav.org/] || |
508 | 62 |
|| FreeGLUT || 3.0 || [http://freeglut.sourceforge.net/] || |
63 |
||
64 |
*Note*: See also VideoRecorder for detailed instructions to build the video recorder. |
|
65 |
||
1101 | 66 |
=== Server === |
67 |
The server is built seperately. If you want to build the server you need a couple of Haskell-related packages. First you need GHC: |
|
508 | 68 |
|| *Name* || *Version* || *Homepage* || |
537
9c9c528bd61b
It’s “Glasgow Haskell Compiler” not “Gnu Haskell Compiler” :D
almikes@aol.com
parents:
516
diff
changeset
|
69 |
|| GHC (Glasgow Haskell Compiler) || 6.10 || [https://www.haskell.org/ghc/] || |
508 | 70 |
|
1690 | 71 |
Then you need a couple of Haskell software. Please refer to [http://hg.hedgewars.org/hedgewars/file/tip/INSTALL.md INSTALL.md] for a list. |