You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I 'm getting a build error trying to build on Arch. This is the output from the end of the build process:
[100%] Building CXX object rpcsx/CMakeFiles/rpcsx.dir/ipmi.cpp.o
/home/jerry/rpcsx/rpcsx/main.cpp: In function ‘orbis::SysResult launchDaemon(orbis::Thread*, std::string, std::vector<std::__cxx11::basic_string<char> >, std::vector<std::__cxx11::basic_string<char> >, orbis::AppInfo)’:
/home/jerry/rpcsx/rpcsx/main.cpp:785:22: error: no match for ‘operator=’ (operand types are ‘orbis::AppInfoEx’ and ‘orbis::AppInfo’)
785 | process->appInfo = appInfo;
| ^~~~~~~
In file included from /home/jerry/rpcsx/orbis-kernel/include/orbis/thread/Process.hpp:12,
from /home/jerry/rpcsx/rpcsx/ipmi.hpp:3,
from /home/jerry/rpcsx/rpcsx/main.cpp:8:
/home/jerry/rpcsx/orbis-kernel/include/orbis/AppInfo.hpp:23:8: note: candidate: ‘constexpr orbis::AppInfoEx& orbis::AppInfoEx::operator=(const orbis::AppInfoEx&)’
23 | struct AppInfoEx : AppInfo {
| ^~~~~~~~~
/home/jerry/rpcsx/orbis-kernel/include/orbis/AppInfo.hpp:23:8: note: no known conversion for argument 1 from ‘orbis::AppInfo’ to ‘const orbis::AppInfoEx&’
/home/jerry/rpcsx/orbis-kernel/include/orbis/AppInfo.hpp:23:8: note: candidate: ‘constexpr orbis::AppInfoEx& orbis::AppInfoEx::operator=(orbis::AppInfoEx&&)’
/home/jerry/rpcsx/orbis-kernel/include/orbis/AppInfo.hpp:23:8: note: no known conversion for argument 1 from ‘orbis::AppInfo’ to ‘orbis::AppInfoEx&&’
/home/jerry/rpcsx/rpcsx/main.cpp: In function ‘int main(int, const char**)’:
/home/jerry/rpcsx/rpcsx/main.cpp:1040:3: error: no match for ‘operator=’ (operand types are ‘orbis::AppInfoEx’ and ‘<brace-enclosed initializer list>’)
1040 | };
| ^
/home/jerry/rpcsx/orbis-kernel/include/orbis/AppInfo.hpp:23:8: note: candidate: ‘constexpr orbis::AppInfoEx& orbis::AppInfoEx::operator=(const orbis::AppInfoEx&)’
23 | struct AppInfoEx : AppInfo {
| ^~~~~~~~~
/home/jerry/rpcsx/orbis-kernel/include/orbis/AppInfo.hpp:23:8: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const orbis::AppInfoEx&’
/home/jerry/rpcsx/orbis-kernel/include/orbis/AppInfo.hpp:23:8: note: candidate: ‘constexpr orbis::AppInfoEx& orbis::AppInfoEx::operator=(orbis::AppInfoEx&&)’
/home/jerry/rpcsx/orbis-kernel/include/orbis/AppInfo.hpp:23:8: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘orbis::AppInfoEx&&’
/home/jerry/rpcsx/rpcsx/ops.cpp: In function ‘orbis::SysResult {anonymous}::thr_kill(orbis::Thread*, orbis::slong, orbis::sint)’:
/home/jerry/rpcsx/rpcsx/ops.cpp:628:47: warning: ignoring return value of ‘std::lock_guard<_Mutex>::lock_guard(mutex_type&) [with _Mutex = orbis::utils::shared_mutex; mutex_type = orbis::utils::shared_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
628 | auto t = (std::lock_guard(thread->tproc->mtx),
| ^
In file included from /usr/include/c++/14.2.1/bits/atomic_wait.h:51,
from /usr/include/c++/14.2.1/bits/atomic_base.h:42,
from /usr/include/c++/14.2.1/atomic:50,
from /home/jerry/rpcsx/orbis-kernel/include/orbis/utils/Rc.hpp:3,
from /home/jerry/rpcsx/orbis-kernel/include/orbis/thread/ProcessOps.hpp:6,
from /home/jerry/rpcsx/rpcsx/ops.hpp:3,
from /home/jerry/rpcsx/rpcsx/ops.cpp:1:
/usr/include/c++/14.2.1/bits/std_mutex.h:249:16: note: declared here
249 | explicit lock_guard(mutex_type& __m) : _M_device(__m)
| ^~~~~~~~~~
make[2]: *** [rpcsx/CMakeFiles/rpcsx.dir/build.make:835: rpcsx/CMakeFiles/rpcsx.dir/main.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:3667: rpcsx/CMakeFiles/rpcsx.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
The text was updated successfully, but these errors were encountered:
Hi, I 'm getting a build error trying to build on Arch. This is the output from the end of the build process:
The text was updated successfully, but these errors were encountered: