![]() |
Blitz Support : |
From: Andrew Hurst (a.hurst_at_[hidden])
Date: 2005-05-27 09:57:44
Hello,
I've just 'inherited' a program using the blitz library.
Thus I came across compiling blitz++ for windows using mingw32.
Has it been done?
I can't get it to compile using i586-mingw32msvc.
Used configure thus:
./configure --host=i586-mingw32msvc --build=i686-pc-linux-gnu
--target=i586-mingw32msvc --disable-shared --enable-std_iostreams
The first error is attached below.
Any idea what's going on?
Thanks,
Andy
make[1]: Entering directory `/home/hmlf/Desktop/blitz-0.8/lib'
if /bin/sh ../libtool --mode=compile i586-mingw32msvc-g++ -DHAVE_CONFIG_H
-I. -I.. -I.. -g -O2 -MT globals.lo -MD -MP -MF ".deps/globals.Tpo" -c -o
globals.lo `test -f '../src/globals.cpp' || echo './'`../src/globals.cpp; \
then mv -f ".deps/globals.Tpo" ".deps/globals.Plo"; else rm -f
".deps/globals.Tpo"; exit 1; fi
i586-mingw32msvc-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -MT globals.lo -MD
-MP -MF .deps/globals.Tpo -c ../src/globals.cpp -o globals.o
In file included from ../blitz/applics.h:400,
from ../blitz/vecexpr.h:35,
from ../blitz/vecpick.cc:26,
from ../blitz/vecpick.h:295,
from ../blitz/vector.h:452,
from ../blitz/tinyvec.h:437,
from ../blitz/indexexpr.h:30,
from ../src/globals.cpp:11:
../blitz/mathfunc.h: In static member function `static double
blitz::_bz_expm1<P_numtype1>::apply(P_numtype1)':
../blitz/mathfunc.h:1347: error: `::expm1' has not been declared
../blitz/mathfunc.h: In static member function `static int
blitz::_bz_blitz_isnan<P_numtype1>::apply(P_numtype1)':
../blitz/mathfunc.h:1549: error: `::isnan' has not been declared