Prerequisites
System Requirements
- macOS 10.14 (Mojave) or later for x86_64
- macOS 11.0 (Big Sur) or later for Apple Silicon (arm64)
- Xcode Command Line Tools or Xcode with C++ compiler
- Homebrew package manager
Installing Xcode Command Line Tools
If you haven’t already:Installing Homebrew
If Homebrew is not installed:Installing Dependencies
Using System Libraries (Homebrew)
Install build tools and dependencies:Using OpenRCT2 Dependencies (Recommended)
OpenRCT2 can automatically download and use pre-built universal (x86_64 + arm64) dependencies:MACOS_USE_DEPENDENCIES=ON (default).
Building OpenRCT2
Configure the build
For a standard macOS app bundle:This uses OpenRCT2’s pre-built dependencies and creates
OpenRCT2.app.To use Homebrew libraries instead:Architecture-Specific Builds
Building for Apple Silicon (arm64)
Building for Intel (x86_64)
Universal Binary (x86_64 + arm64)
When using
MACOS_USE_DEPENDENCIES=ON, the pre-built libraries are already universal binaries.Build Options
Creating an App Bundle
By default, OpenRCT2 builds asOpenRCT2.app:
Building CLI Executable Only
To build a command-line executable instead of an app bundle:Headless Build (Server Only)
Building with Tests
OpenRCT2 Dependencies Details
WhenMACOS_USE_DEPENDENCIES=ON (default on macOS), CMake automatically downloads:
- Version: v41
- File:
openrct2-libs-v41-universal-macos-dylibs.zip - Source: OpenRCT2/Dependencies releases
- Location: Downloaded to
lib/macos/in your source tree
- SDL2
- libzip, zlib, libpng
- OpenSSL 1.1
- FreeType
- ICU
- FLAC, Vorbis, Ogg
- And more
Running OpenRCT2
From App Bundle
After building:From CLI Build
On first run, OpenRCT2 will ask you to locate your RollerCoaster Tycoon 2 installation directory.
Using CCache
CCache speeds up rebuilds significantly:Troubleshooting
OpenSSL 3 Compatibility Issues
If you’re using Homebrew libraries:Library Not Found Errors
If CMake can’t find Homebrew libraries:Xcode Command Line Tools Not Found
Architecture Mismatch
If you get architecture-related errors:Code Signing Issues
For development builds, code signing is not required. If you encounter signing issues:Bundle Fixup Failures
If the app bundle fails to create properly, try a non-bundle build:Deployment Target
CMake automatically sets the macOS deployment target:- x86_64: macOS 10.14 (Mojave)
- arm64: macOS 11.0 (Big Sur)
Next Steps
- Building on Linux - If you want to cross-compile or compare
- Contributing - Guidelines for contributing code
- Development Setup - Setting up your development environment

