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

Git Clone URL: (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:
Licenses: GPL3
Conflicts: openrct2
Provides: openrct2
Submitter: grahamedgecombe
Maintainer: rctdude2
Last Packager: rctdude2
Votes: 30
Popularity: 0.141752
First Submitted: 2014-05-27 09:56 (UTC)
Last Updated: 2023-04-01 20:12 (UTC)

Required by (1)

Sources (1)

Latest Comments

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

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

Fixed upstream in (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:

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.

solarisfire commented on 2024-05-13 10:41 (UTC)

This won't build this morning:

[5/586] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/AssetPackManager.cpp.o
FAILED: CMakeFiles/libopenrct2.dir/src/openrct2/AssetPackManager.cpp.o 
/usr/bin/c++ -DDOCDIR=\"/usr/share/doc/openrct2\" -DOPENGL_NO_LINK -D_FILE_OFFSET_BITS=64 -D__ENABLE_DISCORD__ -I/home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/DISCORDRPC_PROCESS_INCLUDES -I/home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/src/openrct2/../thirdparty/duktape -I/home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/libopenrct2 -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-6 -isystem /home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/src/openrct2/../thirdparty -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wno-error=maybe-uninitialized  -Wno-error=restrict  -Wno-error=null-dereference  -Wno-error=stringop-overflow -fstrict-overflow -fstrict-aliasing -Werror -Wundef -Wmissing-declarations -Winit-self -Wall -Wextra -Wshadow -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wnonnull -Wno-unused-parameter -Wno-attributes -DDEBUG=0 -fno-char8_t -Wno-deprecated-declarations -O2 -g -DNDEBUG -std=gnu++20 -fPIC -Wsuggest-override -Wduplicated-cond -Wnon-virtual-dtor -Wduplicated-branches -Wrestrict -Wmissing-field-initializers -Wlogical-op -Wold-style-cast -Wunused-const-variable=1 -Wno-clobbered -Wredundant-decls -Wnull-dereference -Wignored-qualifiers -Wstrict-overflow=1 -DENABLE_SCRIPTING -pthread -MD -MT CMakeFiles/libopenrct2.dir/src/openrct2/AssetPackManager.cpp.o -MF CMakeFiles/libopenrct2.dir/src/openrct2/AssetPackManager.cpp.o.d -o CMakeFiles/libopenrct2.dir/src/openrct2/AssetPackManager.cpp.o -c /home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/src/openrct2/AssetPackManager.cpp
/home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/src/openrct2/AssetPackManager.cpp: In member function ‘size_t OpenRCT2::AssetPackManager::GetAssetPackIndex(std::string_view)’:
/home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/src/openrct2/AssetPackManager.cpp:56:20: error: ‘find_if’ is not a member of ‘std’; did you mean ‘find’?
   56 |     auto it = std::find_if(_assetPacks.begin(), _assetPacks.end(), [&](const std::unique_ptr<AssetPack>& assetPack) {
      |                    ^~~~~~~
      |                    find
/home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/src/openrct2/AssetPackManager.cpp: In member function ‘void OpenRCT2::AssetPackManager::LoadSamplesForObject(std::string_view, AudioSampleTable&)’:
/home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/src/openrct2/AssetPackManager.cpp:114:10: error: ‘for_each’ is not a member of ‘std’
  114 |     std::for_each(_assetPacks.rbegin(), _assetPacks.rend(), [&](auto& assetPack) {
      |          ^~~~~~~~
[22/586] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/Context.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
 -> error making: openrct2-git-exit status 4

jhm commented on 2023-12-18 22:53 (UTC)

@Sir-Photch Rebuilding the package worked perfectly. I should have tried that before commenting :(. Thank you, and Merry Christmas/Happy Holidays!

Sir-Photch commented on 2023-12-18 09:05 (UTC)

@jhm you could try rebuilding the package or creating a symlink to /usr/lib/

jhm commented on 2023-12-18 09:01 (UTC)

I have an error on launch: error while loading shared libraries:

icu was updated today and I suspect a package dependency may need to be changed.

Please let me know if my comment is misguided. I would like to thank the maintainers and developers on this project—I've been having fun!

Sir-Photch commented on 2022-08-18 09:14 (UTC)

I can confirm that patching the PKGBUILD with @Thaodan's diff works!