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.24
First Submitted: 2014-05-27 09:56 (UTC)
Last Updated: 2023-04-01 20:12 (UTC)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 14 Next › Last »

janisozaur commented on 2018-05-21 10:37 (UTC) (edited on 2018-05-21 10:38 (UTC) by janisozaur)

@goddisignz this is not the full error. GCC by default ignores -Wno-* options and will only display them once encountered actual error, which you skipped. We do test with GCC 8.1 in our CI setup and you may have ran into https://github.com/Tencent/rapidjson/issues/1205 which the upstream maintainers have not bothered to address for the last few months (please do go nag them). If that's the case, either disable discord-rpc (in PKGBUILD) or switch to my hacked version of rapidjson at <https://github.com/janisozaur/rapidjson> patch-1

goddisignz commented on 2018-05-21 10:30 (UTC) (edited on 2018-05-21 10:32 (UTC) by goddisignz)

I currently have a problem compiling the pacakage. I get the following error(s):

cc1plus: error: unrecognized command line option ‘-Wno-global-constructors’ [-Werror]

cc1plus: error: unrecognized command line option ‘-Wno-exit-time-destructors’ [-Werror]

cc1plus: error: unrecognized command line option ‘-Wno-covered-switch-default’ [-Werror]

cc1plus: error: unrecognized command line option ‘-Wno-c++98-compat-pedantic’ [-Werror]

cc1plus: error: unrecognized command line option ‘-Wno-c++98-compat’ [-Werror]

Can this be a problem related to the gcc version? I use the current 8.1.0.

grahamedgecombe commented on 2018-04-16 16:35 (UTC)

imho it's good practice to run the unit tests where available, especially in a project like this as C/C++ have a lot of system-dependent behaviour - and fwiw I think building the main OpenRCT2 executable outweighs the time spent running the tests.

That said, you should be able to pass --nocheck to makepkg to skip running the tests if you want to (although it'll still build them - idk if there's a way we can detect --nocheck in the PKGBUILD).

Enverex commented on 2018-04-16 11:25 (UTC)

Is there any point in "WITH_TESTS=on"? Seems like it's just going to increase the build time and provide no real benefit for users. It's mainly for the devs to test with.

janisozaur commented on 2018-03-06 16:12 (UTC)

We are aware of this and will have a fix soonish.

Upstream discord-rpc changed file name in one of their latest commits (discord-rpc.h -> discord_rpc.h) and to fix it you simply need to rename the relevant include. We have not changed the file name upstream yet because we are updating Windows' libraries at the same time.

Note that you can also choose to not use discord-rpc at all if you don't want to or use slightly older commit of it.

jfernandz commented on 2018-03-06 16:05 (UTC)

I've got issues with discord_register.h after your fix:

[  8%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/DiscordService.cpp.o
/home/wyre/AUR/openrct2-git/src/openrct2-git/src/openrct2/network/DiscordService.cpp:19:10: fatal error: discord-rpc.h: No such file or directory
 #include <discord-rpc.h>
          ^~~~~~~~~~~~~~~

grahamedgecombe commented on 2018-02-10 22:22 (UTC)

thanks, fixed

janisozaur commented on 2018-02-10 21:57 (UTC)

The PKGBUILD seems to be broken: rmdir: failed to remove '/home/janisozaur/.cache/pacaur/openrct2-git/pkg/openrct2-git/usr/include': Directory not empty

Indeed, there is a lone file discord_register.h.

grahamedgecombe commented on 2017-11-17 10:23 (UTC)

thanks, I've added discord-rpc

janisozaur commented on 2017-11-15 21:37 (UTC)

https://github.com/OpenRCT2/OpenRCT2/pull/6658 adds optional support for Discord Rich Presence. To enable clone https://github.com/discordapp/discord-rpc into the root directory, it will get detected automatically. I have not seen it stated explicitly anywhere, but it looks like running a discord client is required for this feature to work.