1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Updated Building OpenRCT2 on Linux (markdown)

Michał Janiszewski
2019-01-04 21:42:31 +01:00
parent 9e0600564f
commit 488fc82ad9

@@ -78,11 +78,12 @@ Then you need to `emerge` required libraries and in case portage gives shows som
Install dependencies: Install dependencies:
``` ```
# Outdated as of 2019-01-04, OpenRCT2 requires C++17 which ships with GCC7+
sudo zypper in SDL2-devel fontconfig libzip5 libzip-devel libpng speexdsp-devel curl libjansson-devel openssl glibc zlib cmake gcc gcc5 gcc5-c++ sudo zypper in SDL2-devel fontconfig libzip5 libzip-devel libpng speexdsp-devel curl libjansson-devel openssl glibc zlib cmake gcc gcc5 gcc5-c++
``` ```
#### Notes for Leap #### Notes for Leap
Leap uses gcc4 by default, OpenRCT2 needs gcc5. You'll need to fix the symlinks for g++ and c++ to point to g++-5. Tumbleweed is using gcc5 by default now. ~~Leap uses gcc4 by default, OpenRCT2 needs gcc5. You'll need to fix the symlinks for g++ and c++ to point to g++-5. Tumbleweed is using gcc5 by default now.~~ Outdated as of 2019-01-04, OpenRCT2 requires C++17 which ships with GCC7+
### Alpine Linux ### Alpine Linux
Install dependancies: Install dependancies:
@@ -108,7 +109,7 @@ This will generate a `openrct2` binary in the `build` directory. To run you have
make install make install
``` ```
`make install` will download required resources (json objects, title sequences) and installs openrct2 under `/usr/local` by default. `make install` will download required resources (json objects, title sequences) and installs openrct2 under `/usr/local` by default, but `DESTDIR` will be properly honoured (see below).
### Running it from the build directory ### Running it from the build directory