1.2 KiB
1.2 KiB
Compiling
NOTICE: Clone the repository with -recursive, e.g git clone ... -recursive
Compiling on Linux
- Install tools.
Debian-based distros:
Essential stuff:
sudo apt install build-essential cmake zip unzip make libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libgl-dev
If you also want to compile for Windows:
sudo apt install g++-mingw-w64-x86-64 gcc-mingw-w64-x86-64 g++-mingw-w64-i686 gcc-mingw-w64-i686
Arch-based distros:
Essential stuff:
sudo pacman -S --needed base-devel cmake zip unzip libxcursor libxinerama libxi libxrandr wayland-utils mesa glu libglvnd alsa-lib pulseaudio
If you also want to compile for Windows:
sudo pacman -S --needed mingw-w64-gcc
- Run
compile.shto compile for Linux, 64-bit Windows & 32-bit Windows. Runcompile_linux.shto compile for Linux only.