From 9fb88c789c8f638b765fd9a0c0e1a23d8f5b0737 Mon Sep 17 00:00:00 2001 From: Damglador <52221087+Damglador@users.noreply.github.com> Date: Sat, 31 May 2025 00:39:02 +0200 Subject: [PATCH] Improve build instructions for Linux - `make -j` takes down my system because it runs out of memmory, so it's better to replace it with `make -j$(nproc), it'll give `make` the amount of cores available on the system - Added list of packages for Arch - Formatted list of packages for Debian/Ubuntu --- INSTALL.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index dca7a88be..ca631cefb 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -84,7 +84,13 @@ If you'd rather debug the editor, instead of hitting the green play button up to ## Acquire Dependencies For Debian/Ubuntu, you should be able to install most of these dependencies with: //TODO: Add OpenAL to the list. +``` sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-net-dev libsdl2-ttf-dev libpng-dev libz-dev libphysfs-dev rapidjson-dev +``` +For Arch: +``` +yay -S --needed sdl2-compat sdl2_image sdl2_net sdl2_ttf libpng physfs rapidjson openal cmake3 +``` You will also need PhysFS v3.0.1 for Barony v3.1.5+ if not available in your distro's package repository. Linux Install (Navigate to somewhere to drop install files first): @@ -103,7 +109,7 @@ You can do something along the following lines: mkdir build cd build cmake .. -make -j +make -j$(nproc) ``` # Build Flags