]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - README.md
SVVM: fully shut down when stopping a server to avoid segfaulting later
[xonotic/darkplaces.git] / README.md
index 6c29a5c2d77a7e1b6bd243be0772533c7946fd03..c67c8be42bb2794670776e0f3220278ffd9ad371 100644 (file)
--- a/README.md
+++ b/README.md
@@ -17,12 +17,18 @@ Developed by LadyHavoc. See [CREDITS](CREDITS.md) for a list of contributors.
 
 ## Build instructions (WIP)
 
-You will need the following packages regardless of platform:
-* SDL2
-* libjpeg
-* libpng
-* libvorbis
-* libogg
+### Required packages
+
+The minimum SDL version is 2.0.18 for Linux and 2.24.0 for Windows.  
+The following package names are for Debian, see below for Windows and Mac.
+
+##### 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,9 +58,12 @@ 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.
+Instructions TODO.
 
 ## Contributing