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

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

[Mingw-cross-env-list] Erros when compiling


From: Reza Housseini
Subject: [Mingw-cross-env-list] Erros when compiling
Date: Fri, 8 Feb 2013 10:27:38 +0100

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,
                 from /usr/include/octave-3.6.1/octave/Array.h:36,
                 from /usr/include/octave-3.6.1/octave/boolMatrix.h:27,
                 from /usr/include/octave-3.6.1/octave/mx-base.h:32,
                 from /usr/include/octave-3.6.1/octave/Matrix.h:30,
                 from /usr/include/octave-3.6.1/octave/oct.h:33,
                 from
/home/hous/workspace/zamp_siebmodell/trunk/octave/smf_mpd_abssi
evedeck.cpp:1:
/usr/include/octave-3.6.1/octave/oct-inttypes.h: In function 'long
double xround(long
 double)':
/usr/include/octave-3.6.1/octave/oct-inttypes.h:38:61: error: 'roundl'
was not declar
ed in this scope
In file included from /host/cygwin/usr/include/armadillo:68:0,
                 from
/home/hous/workspace/zamp_siebmodell/trunk/octave/smf_mpd_abssi
evedeck.cpp:4:
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:
At
global scope:
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:162:11:
error: '::acoshl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:166:11:
error: '::asinhl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:170:11:
error: '::atanhl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:174:11:
error: '::cbrtl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:178:11:
error: '::copysignl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:182:11:
error: '::erfl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:186:11:
error: '::erfcl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:190:11:
error: '::exp2l' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:194:11:
error: '::expm1l' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:198:11:
error: '::fdiml' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:202:11:
error: '::fmal' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:206:11:
error: '::fmaxl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:210:11:
error: '::fminl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:214:11:
error: '::hypotl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:218:11:
error: '::ilogbl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:222:11:
error: '::lgammal' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:230:11:
error: '::llroundl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:234:11:
error: '::log1pl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:238:11:
error: '::log2l' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:242:11:
error: '::logbl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:250:11:
error: '::lroundl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:254:11:
error: '::nanl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:258:11:
error: '::nearbyintl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:262:11:
error: '::nextafterl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:264:11:
error: '::nexttoward' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:265:11:
error: '::nexttowardf' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:266:11:
error: '::nexttowardl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:270:11:
error: '::remainderl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:274:11:
error: '::remquol' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:282:11:
error: '::roundl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:286:11:
error: '::scalblnl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:290:11:
error: '::scalbnl' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:294:11:
error: '::tgammal' has not been declared
/home/hous/workspace/mxe/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/tr1/cmath:298:11:
error: '::truncl' has not been declared
make[2]: *** [CMakeFiles/smf_mpd_abssievedeck.dir/smf_mpd_abssievedeck.cpp.obj]
Error 1
make[1]: *** [CMakeFiles/smf_mpd_abssievedeck.dir/all] Error 2
make: *** [all] Error 2


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

Thanks for your help!
Cheers Reza



reply via email to

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