diff options
author | Georg Lehmann <dadschoorse@gmail.com> | 2021-11-25 17:27:05 +0300 |
---|---|---|
committer | Philip Rebohle <25567304+doitsujin@users.noreply.github.com> | 2021-11-29 02:31:38 +0300 |
commit | 1fff48f509c82160c18e5f11f050414b172f3c61 (patch) | |
tree | 0fd1fed02d821a997540718b3aad9f21b364d492 /README.md | |
parent | 97f03127e920f06b65a0a48de176220a8fc7e841 (diff) |
[meta] Be clearer about mingw threading support
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -117,14 +117,17 @@ The following environment variables can be used for **debugging** purposes. ## Troubleshooting DXVK requires threading support from your mingw-w64 build environment. If you -are missing this, you may see "error: 'mutex' is not a member of 'std'". +are missing this, you may see "error: ‘std::cv_status’ has not been declared" +or similar threading related errors. On Debian and Ubuntu, this can be resolved by using the posix alternate, which supports threading. For example, choose the posix alternate from these -commands (use i686 for 32-bit): +commands: ``` update-alternatives --config x86_64-w64-mingw32-gcc update-alternatives --config x86_64-w64-mingw32-g++ +update-alternatives --config i686-w64-mingw32-gcc +update-alternatives --config i686-w64-mingw32-g++ ``` For non debian based distros, make sure that your mingw-w64-gcc cross compiler does have `--enable-threads=posix` enabled during configure. If your distro does |