X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=README.md;h=72e7b8d6fc1902c4d24044b9d60aa14ec46d1cdc;hb=1b3be98c13121329c63a7c7dbb8c08f86662b4aa;hp=f03bf95be25efd0e253205a1371e98051df4a069;hpb=f1bd31aec8ede40a222bbec6edaf65836b55910c;p=xonotic%2Fdarkplaces.git diff --git a/README.md b/README.md index f03bf95b..72e7b8d6 100644 --- a/README.md +++ b/README.md @@ -13,16 +13,21 @@ Developed by LadyHavoc. See [CREDITS](CREDITS.md) for a list of contributors. #darkplaces on irc.anynet.org ### [Matrix](https://matrix.org/docs/guides/introduction) -Space: [#darkplaces:matrix.org](https://matrix.to/#/#darkplaces:matrix.org) +[![#darkplaces:matrix.org](https://img.shields.io/matrix/darkplaces:matrix.org?color=660000&label=%23darkplaces%3Amatrix.org)](https://matrix.to/#/#darkplaces:matrix.org) ## Build instructions (WIP) -You will need the following packages regardless of platform: -* SDL2 -* libjpeg -* libpng -* libvorbis -* libogg +### Required packages + +These names are for Debian, you may need to find equivalents for your platform. + +##### Client +Build (mandatory): `build-essential` `libjpeg-dev` `libsdl2-dev` +Runtime (optional): `libcurl` `libpng` `libfreetype6` `libvorbisfile` + +##### Dedicated Server +Build (mandatory): `build-essential` `libjpeg-dev` `zlib1g-dev` +Runtime (optional): `libcurl` `libpng` ### Windows (MSYS2): @@ -52,6 +57,9 @@ From a terminal, in the engine's root directory, input `make`. On macOS, input ` Input `make help` for options. +If you get errors (that don't seem to be about missing dependencies) try `make clean` before compiling, especially if you updated your system since the last time you compiled. + + ### Windows (Visual Studio) Instructions coming soon.