Compare commits

...

3 Commits

Author SHA1 Message Date
milkwx3 032b38833d Обновить README.md
Build / build (push) Has been cancelled
2026-07-16 19:34:32 +00:00
milkwx3 78a2fc0b06 Обновить README.md
Build / build (push) Has been cancelled
2026-07-08 10:05:24 +00:00
literallyMilk 5e77586a8d README.md is a Markdown file, duh
Build / build (push) Has been cancelled
2026-07-08 13:03:47 +03:00
+13 -9
View File
@@ -1,22 +1,26 @@
# Compiling
! NOTICE: Compile with `-recursive`, e.g `git clone ... -recursive`
### NOTICE: Clone the repository with `-recursive`, e.g `git clone ... -recursive`
## Compiling on Linux
1) Install tools.
**Debian-based distros:**
Essential:
### Debian-based distros:
#### Essential stuff:
```sh
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:
#### If you also want to compile for Windows:
```sh
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:
`TODO`
If you also want to compile for Windows:
`TODO`
### Arch-based distros:
#### Essential stuff:
```sh
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:
```sh
sudo pacman -S --needed mingw-w64-gcc
```
2) Run `compile.sh` to compile for Linux, 64-bit Windows & 32-bit Windows.
Run `compile_linux.sh` to compile for Linux only.