|
From: | Gerardo Ballabio |
Subject: | Re: [Mingw-cross-env-list] Error cross-compiling for 32-bit windows from 640bit linux using mxe |
Date: | Fri, 24 Feb 2017 13:31:32 +0100 |
> 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
[Prev in Thread] | Current Thread | [Next in Thread] |