mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 08:12:53 +01:00
Closes #3928
@@ -26,7 +26,7 @@ The exact package names will differ from distribution to distribution, but here'
|
||||
```
|
||||
sudo dpkg --add-architecture i386
|
||||
sudo apt-get update
|
||||
sudo apt-get install --no-install-recommends -y libjansson-dev:i386 \
|
||||
sudo apt-get install --no-install-recommends -y libjansson-dev:i386 libssl-dev:i386\
|
||||
cmake libsdl2-dev:i386 libsdl2-ttf-dev:i386 pkg-config:i386 gcc-multilib \
|
||||
g++-multilib libspeex-dev:i386 libspeexdsp-dev:i386 libcurl4-openssl-dev:i386 \
|
||||
libcrypto++-dev:i386 libfontconfig1-dev:i386 libfreetype6-dev:i386
|
||||
@@ -114,7 +114,16 @@ You can copy more of required data to possibly improve your experience.
|
||||
|
||||
## Compiling
|
||||
|
||||
The usual cmake-based build process:
|
||||
You can use provided scripts (after installing required packages), executing them from the root OpenRCT2 folder:
|
||||
```
|
||||
scripts/linux/install.sh
|
||||
scripts/linux/build.sh
|
||||
```
|
||||
This will build the main `openrct2` executable and `g2.dat` file, unless you do `export DISABLE_G2_BUILD=1` before executing them.
|
||||
|
||||
These scripts has been tested in Lubuntu 16.04 i386 and amd64
|
||||
|
||||
By the way, you can always follow the usual cmake-based build process:
|
||||
```
|
||||
rm -R CMakeFiles CMakeCache.txt cmake_install.cmake # only if you want to rebuild from scratch
|
||||
cmake ../
|
||||
|
||||
Reference in New Issue
Block a user