many of these types of errors: note: ‘std::mutex’ is defined in header ‘’; did you forget to ‘#include ’?
this was helpful.
Use POSIX threading model for MINGW:
$ sudo update-alternatives --config i686-w64-mingw32-gcc
$ sudo update-alternatives --config i686-w64-mingw32-g++ <choose i686-w64-mingw32-g++-posix from the list>
$ sudo update-alternatives --config x86_64-w64-mingw32-gcc
$ sudo update-alternatives --config x86_64-w64-mingw32-g++ <choose x86_64-w64-mingw32-g++-posix from the list>
sorry already documented.
Nothing extracted yet.
many of these types of errors: note: ‘std::mutex’ is defined in header ‘’; did you forget to ‘#include ’?
this was helpful.
Use POSIX threading model for MINGW:
$ sudo update-alternatives --config i686-w64-mingw32-gcc
$ sudo update-alternatives --config i686-w64-mingw32-g++
<choose i686-w64-mingw32-g++-posix from the list>
$ sudo update-alternatives --config x86_64-w64-mingw32-gcc
$ sudo update-alternatives --config x86_64-w64-mingw32-g++
<choose x86_64-w64-mingw32-g++-posix from the list>