From b0fbd5e1e5c863060ddc05ae62c843ad29ff5231 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Thu, 1 Aug 2024 17:27:46 +0200 Subject: [PATCH] Clarify Windows toolchain prerequisites (#22410) --- readme.md | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/readme.md b/readme.md index a57de2f4c6..14514a9d0b 100644 --- a/readme.md +++ b/readme.md @@ -98,29 +98,16 @@ OpenRCT2 requires original files of RollerCoaster Tycoon 2 to play. It can be bo
Windows prerequisites + There are two toolchain options for building the game on Windows: + - Visual Studio 2022 (Enterprise / Professional / [Community (Free)](https://www.visualstudio.com/vs/community/)) - Desktop development with C++ - - MSYS2 MinGW Toolchain. The toolchains with supported dependencies are `mingw-x86_64`, `mingw-xi686`, `ucrt-x86_64`, `clang-x86_64`, and `clang-xi686`, each of these require the `$MINGW_PACKAGE_PREFIX` and `msys` and `clangarm-64` are lacking packages for some dependencies - - sdl2 (only for UI client) - - freetype (can be disabled) - - fontconfig (can be disabled) - - libzip (>= 1.0) - - libpng (>= 1.2) - - speexdsp (only for UI client) - - curl (only if building with http support) - - nlohmann-json (>= 3.6.0) - - openssl (>= 1.0; only if building with multiplayer support) - - icu (>= 59.0) - - zlib - - gl (commonly provided by Mesa or GPU vendors; only for UI client, can be disabled) - - cmake - - benchmark (optional) - - innoextract (optional runtime dependency; used for GOG installer extraction during setup) - - libogg - - libvorbis - - flac - - See the wiki for [the actual package names used in pacman](https://github.com/OpenRCT2/OpenRCT2/wiki/Building-OpenRCT2-on-MSYS2-MinGW). + - MSYS2 MinGW Toolchain + - The toolchains with supported dependencies are `mingw-x86_64`, `mingw-xi686`, `ucrt-x86_64`, `clang-x86_64`, and `clang-xi686`. Each of these require the `$MINGW_PACKAGE_PREFIX` set. + - Note that `msys` and `clangarm-64` are lacking packages for some dependencies. + + The projects depends on several libraries to be installed. These can be installed automatically using `msbuild` for Visual Studio builds. See section 3.2 for details. + For MinGW builds, see the wiki for [the actual package names used in pacman](https://github.com/OpenRCT2/OpenRCT2/wiki/Building-OpenRCT2-on-MSYS2-MinGW).