From 8e7b42d509d36c9bdda23487612ff1ca8c139b1d Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Fri, 24 Nov 2023 15:02:32 +1000 Subject: [PATCH] README.md: mention `make clean`, more specific build deps Signed-off-by: bones_was_here --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6c29a5c2..72e7b8d6 100644 --- a/README.md +++ b/README.md @@ -17,12 +17,17 @@ 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 + +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. -- 2.39.2