I hope I´m not missing something obvious, since I´m still an Arch newbie, but I get this error like a million times when attempting to install this, whether through yay or directly with makepkg (the daemon was successfully installed by yay on the first attempt).
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
from /usr/include/glib-2.0/glib/gthread.h:32,
from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/searpc-client.h:10,
from /home/pierric/.cache/yay/seadrive-gui/src/seadrive-gui-2.0.13/src/daemon-mgr.cpp:2:
/usr/include/c++/10.2.0/type_traits:56:3: error: template with C linkage
56 | template<typename _Tp, _Tp __v>
| ^~~~~~~~
/home/pierric/.cache/yay/seadrive-gui/src/seadrive-gui-2.0.13/src/daemon-mgr.cpp:1:1: note: 'extern "C"' linkage started here
1 | extern "C" {
| ^~~~~~~~~~
I´ve tried the CMakeLists.txt modification from the last comment just in case but it changes nothing.
Pinned Comments
orax commented on 2024-03-27 11:38 (UTC) (edited on 2024-03-31 17:25 (UTC) by orax)
This package has been marked as out-of-date for quite a while, but the latest v3.0 of
seadriver-gui
has quite a bit of issues to build on Linux. I am slowly working on a set of patches to make it compile, sadly it's now failing at the linking phase as some of the new required methods are not implemented for Linux yet.Works seems to be going to fix this as part of https://github.com/haiwen/seadrive-gui/pull/404/ which I am monitoring. I am sorry for the delay, but this is a bit outside my area of expertise.
In the meantime, there have been some patches pushed to v2.0 since the release of v3.0 which I have been updating this package for.
EDIT(2024-03-31): Tried building with #404 patch, everything built fine, but libraries do not load. I will continue monitoring the repo/PR to see what is going on there.