Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
23rd December 2018, 16:01 | #1 | Link |
Registered User
Join Date: Nov 2005
Posts: 693
|
"error: 'mutex' in namespace 'std' does not name a type" despite up-to-date toolchain
I'm using 'mingw-w64-build-r25' from https://files.1f0.de/mingw/scripts/ (does anyone know who actually maintains these updated scripts? Hendrik / nevairiel?) to create my own toolchain with GCC 8.2, MinGW-w64 6.0.0 and pthreads 2.9.1.
Today I tried to compile libdmusic, but I got the following error: Code:
[ 11%] Building CXX object CMakeFiles/dmusic.dir/src/DlsPlayer.cpp.obj In file included from /[...]/libdmusic_git/include/dmusic/DlsPlayer.h:8, from /[...]/libdmusic_git/src/DlsPlayer.cpp:1: /[...]/libdmusic_git/include/dmusic/PlayingContext.h:74:14: error: 'mutex' in namespace 'std' does not name a type std::mutex m_queueMutex; ^~~~~ I'm using the latest GCC, but export CXXFLAGS="-std=gnu++11" didn't make any difference. I still get the error. Now I wonder, is this guy right, despite having the latest GCC? Or is there a flaw in the MinGW-w64 build script that I'm getting this error?
__________________
My hobby website |
Thread Tools | Search this Thread |
Display Modes | |
|
|