@@ -1,21 +1,21 @@
|
|||||||
# 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`
|
`TODO`
|
||||||
If you also want to compile for Windows:
|
#### If you also want to compile for Windows:
|
||||||
`TODO`
|
`TODO`
|
||||||
|
|
||||||
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user