Compare commits
3 Commits
a8ca1edaef
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 032b38833d | |||
| 78a2fc0b06 | |||
| 5e77586a8d |
+13
-9
@@ -1,22 +1,26 @@
|
|||||||
# Compiling
|
# Compiling
|
||||||
! NOTICE: Compile with `-recursive`, e.g `git clone ... -recursive`
|
### NOTICE: Clone the repository with `-recursive`, e.g `git clone ... -recursive`
|
||||||
## Compiling on Linux
|
## Compiling on Linux
|
||||||
1) Install tools.
|
1) Install tools.
|
||||||
**Debian-based distros:**
|
### Debian-based distros:
|
||||||
Essential:
|
#### Essential stuff:
|
||||||
```sh
|
```sh
|
||||||
sudo apt install build-essential cmake zip unzip make libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libgl-dev
|
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
|
```sh
|
||||||
sudo apt install g++-mingw-w64-x86-64 gcc-mingw-w64-x86-64 g++-mingw-w64-i686 gcc-mingw-w64-i686
|
sudo apt install g++-mingw-w64-x86-64 gcc-mingw-w64-x86-64 g++-mingw-w64-i686 gcc-mingw-w64-i686
|
||||||
```
|
```
|
||||||
|
|
||||||
**Arch-based distros:**
|
### Arch-based distros:
|
||||||
Essential:
|
#### Essential stuff:
|
||||||
`TODO`
|
```sh
|
||||||
If you also want to compile for Windows:
|
sudo pacman -S --needed base-devel cmake zip unzip libxcursor libxinerama libxi libxrandr wayland-utils mesa glu libglvnd alsa-lib pulseaudio
|
||||||
`TODO`
|
```
|
||||||
|
#### 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.
|
2) Run `compile.sh` to compile for Linux, 64-bit Windows & 32-bit Windows.
|
||||||
Run `compile_linux.sh` to compile for Linux only.
|
Run `compile_linux.sh` to compile for Linux only.
|
||||||
Reference in New Issue
Block a user