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] Erros when compiling


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Erros when compiling
Date: Sat, 9 Feb 2013 02:22:09 +1100

On 08/02/2013, at 8:27 PM, Reza Housseini <address@hidden> wrote:

> Hello list,
> 
> I try to compile for windows using a cmake file and mxe as my
> toolchain. But unfortunately I get the following erros and I can't
> figure out why:
> 
> /home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/cwchar:250:11:
> error: '::wcstold' has not been declared
> /home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/cwchar:266:22:
> error: '__gnu_cxx::wcstold' has not been declared
> In file included from /usr/include/octave-3.6.1/octave/idx-vector.h:35:0,

This appears to be a native header mixed into the cross-build

[…]

> In file included from /host/cygwin/usr/include/armadillo:68:0,

and another from cygwin??

[…]

> It looks like he has problems with the cmath header. Why is this?

It's probably more a matter of directing cmake to do a cross-build and ensuring 
you have cross-compiled versions of all dependencies. Armadillo is part of mxe, 
but not octave. I don't know a lot about cmake, but you could browse through 
some of the packages that use cmake (grep -l cmake src/*.mk) for pointers.

Cheers,

Tony




reply via email to

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