Blitz logo

Blitz Support :

From: Julian C. Cummings (cummings_at_[hidden])
Date: 2004-06-21 14:45:28


Hello Alok,

Have you tried using anonymous CVS to access the current version of blitz
from our cvs repository at SourceForge? cvs.sourceforge.net:/cvsroot/blitz.
You might also try updating to a more recent version of the gcc compiler. I
am not able to reproduce this error, and the source code line numbers
mentioned in the error messages below do not correspond to the current
version of the blitz sources. So I cannot follow up on this any further.
If you download the current version of blitz from the CVS repository and you
still see these errors, please send the full error messages from that
session. Then I might be better able to sort this problem out.

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 Alok Ahuja
> Sent: Wednesday, June 16, 2004 8:51 AM
> To: blitz-support_at_[hidden]
> Subject: [Blitz-support] problem with installation
>
>
> Hello,
>
> I am trying to make the library for Blitz-0.6 on Linux with
> gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)
> The make fails; with the following message.
> I also tried compiling Blitz-0.7 but with the same error
> message as below.
>
> Thanks for your help.
>
> Alok Ahuja
> alok_at_[hidden]
>
>
>
> make[1]: Entering directory `/home/alok/blitz/blitz-0.6/src'
> Making all in .
> make[2]: Entering directory `/home/alok/blitz/blitz-0.6/src'
> source='globals.cpp' object='globals.o' libtool=no \
> depfile='.deps/globals.Po' tmpdepfile='.deps/globals.TPo' \
> depmode=gcc3 /bin/sh ../depcomp \
> g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Blitz++\"
> -DVERSION=\"0.5\" -DHAVE_LIBM=1 -I. -I. -I..
> -ftemplate-depth-30 -c
> -o globals.o `test -f 'globals.cpp' || echo './'`globals.cpp
> In file included from ../blitz/applics.h:393,
> from ../blitz/vecexpr.h:72,
> from ../blitz/vecpick.cc:39,
> from ../blitz/vecpick.h:319,
> from ../blitz/vector.h:514,
> from ../blitz/tinyvec.h:459,
> from ../blitz/indexexpr.h:44,
> from globals.cpp:11:
> ../blitz/mathfunc.h: In static member function `static float
> blitz::_bz_abs<std::complex<float> >::apply(std::complex<float>)':
> ../blitz/mathfunc.h:126: cannot convert `std::complex<float>'
> to `int' for
> argument `1' to `int abs(int)'
> ../blitz/mathfunc.h: In static member function `static double
> blitz::_bz_abs<std::complex<double>
> >::apply(std::complex<double>)':
> ../blitz/mathfunc.h:148: cannot convert
> `std::complex<double>' to `int' for
> argument `1' to `int abs(int)'
> ../blitz/mathfunc.h: In static member function `static long double
> blitz::_bz_abs<std::complex<long double> >::apply(std::complex<long
> double>)':
> ../blitz/mathfunc.h:170: cannot convert `std::complex<long
> double>' to
> `int'
> for argument `1' to `int abs(int)'
> ../blitz/mathfunc.h: In static member function `static float
> blitz::_bz_arg<std::complex<float> >::apply(std::complex<float>)':
> ../blitz/mathfunc.h:378: `::arg' undeclared (first use here)
> ../blitz/mathfunc.h: In static member function `static
> std::complex<float>
> blitz::_bz_cos<std::complex<float> >::apply(std::complex<float>)':
> ../blitz/mathfunc.h:781: cannot convert `std::complex<float>' to
> `double' for
> argument `1' to `double cos(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<double>
> blitz::_bz_cos<std::complex<double>
> >::apply(std::complex<double>)':
> ../blitz/mathfunc.h:803: cannot convert `std::complex<double>' to
> `double' for
> argument `1' to `double cos(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<long
> double> blitz::_bz_cos<std::complex<long double>
> >::apply(std::complex<long
> double>)':
> ../blitz/mathfunc.h:825: cannot convert `std::complex<long
> double>' to
> `double'
> for argument `1' to `double cos(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<float>
> blitz::_bz_cosh<std::complex<float> >::apply(std::complex<float>)':
> ../blitz/mathfunc.h:932: cannot convert `std::complex<float>' to
> `double' for
> argument `1' to `double cosh(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<double>
> blitz::_bz_cosh<std::complex<double>
> >::apply(std::complex<double>)':
> ../blitz/mathfunc.h:954: cannot convert `std::complex<double>' to
> `double' for
> argument `1' to `double cosh(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<long
> double> blitz::_bz_cosh<std::complex<long double>
> >::apply(std::complex<long
> double>)':
> ../blitz/mathfunc.h:976: cannot convert `std::complex<long
> double>' to
> `double'
> for argument `1' to `double cosh(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<float>
> blitz::_bz_exp<std::complex<float> >::apply(std::complex<float>)':
> ../blitz/mathfunc.h:1083: cannot convert `std::complex<float>' to
> `double' for
> argument `1' to `double exp(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<double>
> blitz::_bz_exp<std::complex<double>
> >::apply(std::complex<double>)':
> ../blitz/mathfunc.h:1105: cannot convert `std::complex<double>' to
> `double' for
> argument `1' to `double exp(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<long
> double> blitz::_bz_exp<std::complex<long double>
> >::apply(std::complex<long
> double>)':
> ../blitz/mathfunc.h:1127: cannot convert `std::complex<long
> double>' to
> `double
> ' for argument `1' to `double exp(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<float>
> blitz::_bz_log<std::complex<float> >::apply(std::complex<float>)':
> ../blitz/mathfunc.h:1523: cannot convert `std::complex<float>' to
> `double' for
> argument `1' to `double log(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<double>
> blitz::_bz_log<std::complex<double>
> >::apply(std::complex<double>)':
> ../blitz/mathfunc.h:1545: cannot convert `std::complex<double>' to
> `double' for
> argument `1' to `double log(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<long
> double> blitz::_bz_log<std::complex<long double>
> >::apply(std::complex<long
> double>)':
> ../blitz/mathfunc.h:1567: cannot convert `std::complex<long
> double>' to
> `double
> ' for argument `1' to `double log(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<float>
> blitz::_bz_pow<std::complex<float>, std::complex<float>
> >::apply(std::complex<float>, std::complex<float>)':
> ../blitz/mathfunc.h:1874: cannot convert `std::complex<float>' to
> `double' for
> argument `1' to `double pow(double, double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<double>
> blitz::_bz_pow<std::complex<double>, std::complex<double>
> >::apply(std::complex<double>, std::complex<double>)':
> ../blitz/mathfunc.h:1899: cannot convert `std::complex<double>' to
> `double' for
> argument `1' to `double pow(double, double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<long
> double> blitz::_bz_pow<std::complex<long double>,
> std::complex<long
> double>
> >::apply(std::complex<long double>, std::complex<long double>)':
> ../blitz/mathfunc.h:1924: cannot convert `std::complex<long
> double>' to
> `double
> ' for argument `1' to `double pow(double, double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<float>
> blitz::_bz_sin<std::complex<float> >::apply(std::complex<float>)':
> ../blitz/mathfunc.h:2102: cannot convert `std::complex<float>' to
> `double' for
> argument `1' to `double sin(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<double>
> blitz::_bz_sin<std::complex<double>
> >::apply(std::complex<double>)':
> ../blitz/mathfunc.h:2124: cannot convert `std::complex<double>' to
> `double' for
> argument `1' to `double sin(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<long
> double> blitz::_bz_sin<std::complex<long double>
> >::apply(std::complex<long
> double>)':
> ../blitz/mathfunc.h:2146: cannot convert `std::complex<long
> double>' to
> `double
> ' for argument `1' to `double sin(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<float>
> blitz::_bz_sinh<std::complex<float> >::apply(std::complex<float>)':
> ../blitz/mathfunc.h:2228: cannot convert `std::complex<float>' to
> `double' for
> argument `1' to `double sinh(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<double>
> blitz::_bz_sinh<std::complex<double>
> >::apply(std::complex<double>)':
> ../blitz/mathfunc.h:2250: cannot convert `std::complex<double>' to
> `double' for
> argument `1' to `double sinh(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<long
> double> blitz::_bz_sinh<std::complex<long double>
> >::apply(std::complex<long
> double>)':
> ../blitz/mathfunc.h:2272: cannot convert `std::complex<long
> double>' to
> `double
> ' for argument `1' to `double sinh(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<float>
> blitz::_bz_sqrt<std::complex<float> >::apply(std::complex<float>)':
> ../blitz/mathfunc.h:2394: cannot convert `std::complex<float>' to
> `double' for
> argument `1' to `double sqrt(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<double>
> blitz::_bz_sqrt<std::complex<double>
> >::apply(std::complex<double>)':
> ../blitz/mathfunc.h:2416: cannot convert `std::complex<double>' to
> `double' for
> argument `1' to `double sqrt(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<long
> double> blitz::_bz_sqrt<std::complex<long double>
> >::apply(std::complex<long
> double>)':
> ../blitz/mathfunc.h:2438: cannot convert `std::complex<long
> double>' to
> `double
> ' for argument `1' to `double sqrt(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<float>
> blitz::_bz_tan<std::complex<float> >::apply(std::complex<float>)':
> ../blitz/mathfunc.h:2520: cannot convert `std::complex<float>' to
> `double' for
> argument `1' to `double tan(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<double>
> blitz::_bz_tan<std::complex<double>
> >::apply(std::complex<double>)':
> ../blitz/mathfunc.h:2542: cannot convert `std::complex<double>' to
> `double' for
> argument `1' to `double tan(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<long
> double> blitz::_bz_tan<std::complex<long double>
> >::apply(std::complex<long
> double>)':
> ../blitz/mathfunc.h:2564: cannot convert `std::complex<long
> double>' to
> `double
> ' for argument `1' to `double tan(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<float>
> blitz::_bz_tanh<std::complex<float> >::apply(std::complex<float>)':
> ../blitz/mathfunc.h:2646: cannot convert `std::complex<float>' to
> `double' for
> argument `1' to `double tanh(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<double>
> blitz::_bz_tanh<std::complex<double>
> >::apply(std::complex<double>)':
> ../blitz/mathfunc.h:2668: cannot convert `std::complex<double>' to
> `double' for
> argument `1' to `double tanh(double)'
> ../blitz/mathfunc.h: In static member function `static
> std::complex<long
> double> blitz::_bz_tanh<std::complex<long double>
> >::apply(std::complex<long
> double>)':
> ../blitz/mathfunc.h:2690: cannot convert `std::complex<long
> double>' to
> `double
> ' for argument `1' to `double tanh(double)'
> In file included from ../blitz/array/newet.h:41,
> from ../blitz/array/et.h:38,
> from ../blitz/array-impl.h:2570,
> from ../blitz/array.h:46,
> from globals.cpp:13:
> ../blitz/array/funcs.h: At global scope:
> ../blitz/array/funcs.h:90: `template<class T1>
>
> blitz::_bz_ArrayExpr<blitz::_bz_ArrayExprUnaryOp<blitz::asExpr
> <T>::T_expr,
> blitz::Fn_arg<blitz::asExpr<T>::T_expr::T_numtype> > >
> blitz::arg(const
> blitz::ETBase<T1>&)' used prior to declaration
> make[2]: *** [globals.o] Error 1
> make[2]: Leaving directory `/home/alok/blitz/blitz-0.6/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/alok/blitz/blitz-0.6/src'
> make: *** [all-recursive] Error 1
>
>
> _______________________________________________
> Blitz-support mailing list
> Blitz-support_at_[hidden]
> http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support
>