mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Error cross-compiling for 32-bit windows from


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Error cross-compiling for 32-bit windows from 640bit linux using mxe
Date: Fri, 24 Feb 2017 23:01:03 +1100

> On 21 Feb 2017, at 03:00, Jack Kumba <address@hidden> wrote:
> 
> Well, I changed the header name from Windows.h to windwos.h and that error is 
> no more there.
> 
> However, now, I see the following error:
> /home/jack/myapi/externals/spdlog/include/spdlog/sinks/../details/pattern_formatter_impl.h:335:10:
>  error: 'mutex' in namespace 'std' does not name a type
>      std::mutex _mutex;
> 
> Any ideas about this please?

That is using c++11 threads - you either need to build mxe with 
`MXE_TARGETS=i686-w64-mingw32.static.posix` (just add `.posix` to your current 
targets) or use an alternate thread implementation like 
https://github.com/meganz/mingw-std-threads

Cheers,

Tony





reply via email to

[Prev in Thread] Current Thread [Next in Thread]