-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCOMPILING_ON_LINUX.txt
31 lines (21 loc) · 1.06 KB
/
COMPILING_ON_LINUX.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
HOW TO BUILD ON LINUX:
------------------------------
1) Make sure you have the dependencies installed:
- For Ubuntu 18.04+ or Debian Buster:
$ sudo apt-get install git build-essential libsdl2-2.0-0 libsdl2-dev libjansson-dev libexpat1-dev libcurl4-openssl-dev libpng-dev libjpeg-dev libspeex-dev libspeexdsp-dev libfreetype6-dev libsndfile-dev libpcre3-dev
- For Fedora 25+:
$ sudo dnf install pcre-devel mesa-libGL-devel SDL2-devel make gcc jansson-devel expat-devel libcurl-devel libpng-devel libjpeg-turbo-devel speex-devel speexdsp-devel freetype-devel libXxf86vm-devel
2) Clone the git repository
$ git clone https://github.com/ezQuake/ezquake-source.git
3) Switch to ezquake-source path
cd ~/ezquake-source/
4) Run the following (replace 5 with the number of cpu cores you have + 1)
$ make -j5
Or in case of distros that come with libsndfile older than 1.025:
$ OLD_WAV_LOADING=1 make -j5
5) Copy the built binary to your quake folder, on 64bit linux
the binary will be called:
ezquake-linux-x86_64
TODO:
-----
Write down dependencies for other distros