syntheticpp at gmx.net
Mon Apr 26 19:06:43 CEST 2010
Brisset, Nicolas wrote:
> I have found the solution: you need to build netcdf shared libs!
>> I had a similar crash with netcdf when it only links against netcdf.
>> Have you tried make clean, make in the netcdf folder or deleted the
>> folder completely?
> Yes, I had recompiled everything. But I have just noticed that the
> netcdf shared libs don't get built by default. For future reference: you
> have to give the "--with-pic --enable-shared" flags at configure time. I
> hadn't so I only got static libs and even though compilation did not
> complain (I wonder why?), nothing worked.
> Now I have just recompiled netcdf with shared libs, recompiled kst and
> it works (even tested a small example).
In principle we should check with qmake for shared libraries.
But qmake isn't very good at the configure level, I even don't
know if it is possible.
> That is cool, as we will be able to use the netcdf datasource for
> interesting experiments as it (the format and the lib) supports
> metadata, scalars, vectors, matrices, etc...
More information about the Kst