![]() |
Blitz Bugs : |
From: Patrick Guio (patrick.guio_at_[hidden])
Date: 2003-01-30 10:17:06
On Thu, 30 Jan 2003, Malte Thoma wrote:
Hi Malte,
This should work. Which compilation option did you use?
It looks to me that you forget to give the linker the following option:
-lblitz
with an adequate path option
-Lpath_to_libblitz.a
Cheers,
Patrick
> Hallo,
>
> why does the following code not link, if compiled with -DBZ_DEBUG ???
>
> I think it would be VERY good if it does, because otherwise the
> compileoption is not very usefull, is it?
>
>
> Greeetings,
>
> Malte
>
> ___________________________________________________________________________
>
> #include <blitz/array.h>
>
> typedef blitz::Array<double,1> MyArray1_t;
>
> MyArray1_t get(const int d)
> {
> MyArray1_t a(d);
> return a;
> }
>
> int main()
> {
> const int d=3;
> MyArray1_t xk(d);
> xk=get(d);
> }
>
>