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: 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

If that is required for a specific package to compile, it seems logical to set it as default for that package. Can it be done, and how? Do you expect any issues if some packages are compiled with ".posix" and some others without?

Thanks
Gerardo


2017-02-24 13:01 GMT+01:00 Tony Theodore <address@hidden>:

> 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]