![]() |
Blitz Support : |
From: Danny Smith (dannysmith_at_[hidden])
Date: 2005-06-01 15:33:47
----- Original Message -----
From: "Julian Cummings"
> Hello Andy,
>
> I believe something went wrong during the configuration, but I need more
> info to sort this out. What compiler version are you using? Could you
> please send your config.log file so I can see the results of the
> configuration tests?
>
> Also, make sure you are using the latest version of the blitz source code
> from the cvs repository. Just within the past week, I corrected a problem
> with the isnan function, which is declared as a macro by some compilers.
> But since you have the same problem also with the expm1 function, I think
> there is something else going wrong here.
>
expm1 function was only recently (2005-02-11) added to mingw runtime. It
may not be in released versions.
isnan is defined as a macro (as per C99) in mingw's math.h
C99 math bits are guarded by:
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
|| !defined __STRICT_ANSI__ || defined __cplusplus
Danny
> Regards, Julian C.
>
> Dr. Julian C. Cummings
> Staff Scientist, CACR/Caltech
> (626) 395-2543
> cummings_at_[hidden]
>
>
> > -----Original Message-----
> > From: blitz-support-bounces_at_[hidden]
> > [mailto:blitz-support-bounces_at_[hidden]] On Behalf Of
> > Andrew Hurst
> > Sent: Friday, May 27, 2005 7:58 AM
> > To: blitz-support_at_[hidden]
> > Subject: [Blitz-support] blitz under mingw32
> >
> > 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 _______________________________________________
> > Blitz-support mailing list
> > Blitz-support_at_[hidden]
> > http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support
> >
> >
>
>
> _______________________________________________
> Blitz-support mailing list
> Blitz-support_at_[hidden]
> http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support