cancel
Showing results for 
Search instead for 
Did you mean: 

'mutex' in namespace 'std' does not name a type

casaneva
Visitor

Hi all,

Very new to STM32, day 2 now, managed to get some UART output and call into C++.

However when I try to use standard C++11 threads I get this error "'mutex' in namespace 'std' does not name a type". I believe this is bc arm-none-eabi-g++ is configured with --disable-threads (checked with "arm-none-eabi_g++ -v").

Any way to get (standard) threading support? Should I try to rebuild the toolchain with --enable-threads?

0 REPLIES 0