Compare commits
3 Commits
a8ca1edaef
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 032b38833d | |||
| 78a2fc0b06 | |||
| 5e77586a8d |
+13
-9
@@ -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.
|
||||
Reference in New Issue
Block a user