Package Details: openrct2-git 0.4.4.r18.g1174063c27-1

Git Clone URL: https://aur.archlinux.org/openrct2-git.git (read-only, click to copy)
Package Base: openrct2-git
Description: Open source re-implementation of Roller Coaster Tycoon 2 (requires full copy of the game)
Upstream URL: https://openrct2.io
Licenses: GPL3
Conflicts: openrct2
Provides: openrct2
Submitter: grahamedgecombe
Maintainer: rctdude2
Last Packager: rctdude2
Votes: 30
Popularity: 0.85
First Submitted: 2014-05-27 09:56 (UTC)
Last Updated: 2023-04-01 20:12 (UTC)

Latest Comments

1 2 3 4 5 6 .. 14 Next › Last »

Aftershock9009 commented on 2025-10-14 17:16 (UTC) (edited on 2025-10-14 17:21 (UTC) by Aftershock9009)

So turns out all issues I had on and off this past year were just by this program not playing nicely with clang. if you can please patch

--- PKGBUILD.bak 2025-10-14 11:27:41.033377900 -0500
+++ PKGBUILD    2025-10-14 11:27:31.104487647 -0500
@@ -28,6 +28,9 @@
 }

 build() {
+  CC=gcc
+  CXX=g++
+
   # Required options to workaround GCC 12 issues
   # https://github.com/OpenRCT2/OpenRCT2/issues/17371
   CXXFLAGS+=" -Wno-error=maybe-uninitialized  -Wno-error=restrict  -Wno-error=null-dereference"

because I'm tired of putting export CC=gcc CXX=g++ every time this updates I'd be grateful. Or if you have any tips on how to make this compile on clang correctly.

electricprism commented on 2025-05-27 18:50 (UTC)

discord-rpc was orphaned, I am swapping out for discord-rpc-git as I see it's required by this package.

It would be nice to see consolidation looks like there's quite a few discord-rpc packages.

Aftershock9009 commented on 2024-08-27 23:39 (UTC)

@rctdude2 Checked, everything up to date and tried a clean build, same error.

rctdude2 commented on 2024-08-27 19:07 (UTC)

@Aftershock9009 Please make sure your system is up-to-date then try running a clean build.

Aftershock9009 commented on 2024-08-27 17:24 (UTC) (edited on 2024-08-27 17:30 (UTC) by Aftershock9009)

Been unable to build for a couple of weeks already, cmake crashes at

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindThreads.cmake:226 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  src/openrct2/CMakeLists.txt:167 (find_package)
  CMakeLists.txt:373 (include)


-- Configuring incomplete, errors occurred!

looking for info online tells me about old cmake versions so I'm at a loss, any idea?

janisozaur commented on 2024-05-14 04:39 (UTC)

Fixed upstream in https://github.com/OpenRCT2/OpenRCT2/pull/22031 (merged already)

solarisfire commented on 2024-05-13 11:12 (UTC)

Yeah I tried doing that manually at build time and it gets past this error, then runs into new build errors.

I think there needs to be wider rework for the code to be compatible with GCC14.

janisozaur commented on 2024-05-13 11:08 (UTC)

Fix submitted upstream: https://github.com/OpenRCT2/OpenRCT2/pull/22028

solarisfire commented on 2024-05-13 11:05 (UTC)

Works with the cmake flag "-DCMAKE_CXX_COMPILER=/usr/bin/c++-13"

But would need gcc13 as a dependency.

This probably broke when GCC went to version 14.