protonscr

Compile Error 'cv_status'

dxvkclosed
doitsujin/dxvk#2377 · opened 2021-11-24 by Slyfox88 · updated 2021-11-29 · 5 comments · github
SSlyfox88 2021-11-24 github

[11/275] Compiling C++ object src/util/libutil.a.p/util_monitor.cpp.obj
FAILED: src/util/libutil.a.p/util_monitor.cpp.obj
...
error: ‘cv_status’ in namespace ‘std’ does not name a type
279 | std::cv_status wait_until(std::unique_lockdxvk::mutex& lock, const std::chrono::time_point<Clock, Duration>& time) {
| ^~~~~~~~~
...
error: ‘std::cv_status’ has not been declared
310 | if (!result && wait_for(lock, timeout) == std::cv_status::no_timeout)
| ^~~~~~~~~
...
error: ‘std::this_thread’ has not been declared
120 | std::this_thread::sleep_for(sleepDuration);

SSlyfox88 2021-11-25 github

I set both to:
/usr/bin/x86_64-w64-mingw32-gcc-posix
/usr/bin/x86_64-w64-mingw32-g++-posix
But got the same error.

DDadSchoorse 2021-11-25 github

Did you do the same with i686-w64-mingw32-gcc and i686-w64-mingw32-g++?

SSlyfox88 2021-11-27 github

Even though my system is x64 that got it to work. Maybe someone can update the guide. Thanks.

TTheIronWolfModding 2021-11-29 github

I was getting all sorts of problems until I set up a docker using this exact Arch Linux build and using commands in this activity:

https://github.com/Joshua-Ashton/arch-mingw-github-action/blob/master/Dockerfile

Nothing extracted yet.