1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Some notes on ICU

Aaron van Geffen
2019-01-02 21:05:19 +01:00
parent fe213cee36
commit 40f7874e2a

@@ -10,7 +10,7 @@ To build natively on macOS, without using Xcode, you will need a set of librarie
We'll install the libraries OpenRCT2 depends on through a package manager using the Terminal. We will be using Homebrew in the example below, but the equivalent command for MacPorts and Fink should look pretty similar.
```
$ brew install cmake openssl jansson libpng sdl2 sdl2_ttf speexdsp libzip pkg-config
$ brew install cmake openssl jansson libpng sdl2 speexdsp libzip pkg-config icu4c
```
## Building OpenRCT2
@@ -118,6 +118,15 @@ If this doesn't work, chances are `/usr/local/lib` isn't in your `LIBRARY_PATH`.
`export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/lib"`
#### Problem 5: cmake cannot find the required ICU library
##### Solution
If your brew-installed ICU package cannot be found by cmake, it probably hasn't been linked to a common location. To work around this, invoke:
```
$ export CMAKE_PREFIX_PATH=/usr/local/opt/icu4c
$ cmake ..
```
## Running OpenRCT2
Fire up the binary or application you just built. You should be good to go!