Blitz logo

Blitz Support :

From: Julian Cummings (cummings_at_[hidden])
Date: 2003-05-14 18:52:58


Winn,

The link error from gcc 3.1 is resolved by linking with the Blitz library.
Add -lblitz to your compile/link command line. You may also need a
-L flag to indicate where your compiled Blitz library is installed.

The errors from gcc 2.95 result from using Blitz with a config.h file that
was produced with a different version of the gcc compiler. The compiler
is complaining because gcc 2.95 did not have all the standard C++ headers,
and the Blitz config.h file indicates that standard headers are available.
You could fix this by rerunning the Blitz configure script with gcc 2.95 as
your gcc compiler. But I would recommend abandoning gcc 2.95 and using
the more current and standard-compliant version of gcc.

Regards, Julian C.

Winfried Bilgic wrote:

>Hey Julian,
>
>thats helped me out until i ran over and over to the same error report from gcc. Even the examples
>files ran me into the same error (below reportet). Think the problem will be somewhere else than in
>my source code. Using gcc on Mac OS X in Version 2.95 or 3.1. Metroworks Codewarrior is an option
>too, but makes many more errors (even with an conf ig.h file) than gcc.
>
>What do i need ? What i have to do ?
>
>Regards Winn
>
><<<<<<<<<<<<<<< WITH GCC 2.95 >>>>>>>>>>>>>>>>>
>wbilgic% g++ stencil.cpp -o stencil -I/SourceCode/blitz/ -Wno-long-double
>In file included from /SourceCode/blitz/blitz/array-impl.h:2564,
> from /SourceCode/blitz/blitz/array.h:46,
> from stencil.cpp:1:
>/SourceCode/blitz/blitz/array/fastiter.h:58: sstream: No such file or directory
>In file included from /SourceCode/blitz/blitz/array/expr.h:76,
> from /SourceCode/blitz/blitz/array-impl.h:2565,
> from /SourceCode/blitz/blitz/array.h:46,
> from stencil.cpp:1:
>/SourceCode/blitz/blitz/numinquire.h:59: limits: No such file or directory
>
><<<<<<<<<<<<<<< WITH GCC 3.1 >>>>>>>>>>>>>>>>>
>wbilgic% g++ stencil.cpp -o stencil -I/SourceCode/blitz/ -Wno-long-double
>ld: Undefined symbols:
>blitz::_dummyArray
>
>____________________________________________________________________________
>ImmobilienScout24 - Uber 170.000 Immobilien - Finden Sie hier Ihre neue
>Traumwohnung! In Immobilien die Nr.1 im Netz: http://info.is24.de/web.de
>
>_______________________________________________
>Blitz-support mailing list
>Blitz-support_at_[hidden]
>http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support
>
>

-- 
Dr. Julian C. Cummings                       E-mail: cummings_at_[hidden]
California Institute of Technology           Phone:  626-395-2543
1200 E. California Blvd., Mail Code 158-79   Fax:    626-584-5917
Pasadena, CA 91125