[Kst] branches/work/kst/portto4/kst/src

Mike mike at staikos.net
Tue Nov 11 15:17:48 CET 2008


Hi Nicolas,

Did you update your config.pri to disable CFITSIO?

Mike

Brisset, Nicolas wrote:
>> Mike has put in an example for this.  Should work now.
>>     
> I've seen the example, however it seems to try to compile the
> datasources even when it shouldn't :-( Here is what I get during the
> qmake run:
> % qmake -r ../kst.pro
> Reading /home/brisset/kst2/src/libkst/libkst.pro
> [/home/brisset/kst2/build//src/libkst]
> Reading /home/brisset/kst2/src/libkstmath/libkstmath.pro
> [/home/brisset/kst2/build//src/libkstmath]
> Reading /home/brisset/kst2/src/datasources/datasources.pro
> [/home/brisset/kst2/build//src/datasources]
> Project MESSAGE: CFITSIO configured. Plugins will be built.
> Project MESSAGE: DIRFILE configured. Plugins will be built.
>  Reading /home/brisset/kst2/src/datasources/ascii/ascii.pro
> [/home/brisset/kst2/build/src/datasources//ascii]
> [...]
>
> And of course I get compilation errors later on:
> [...]
> compiling ../../../../src/datasources/fitsimage/fitsimage.cpp
> moc ../../../../src/datasources/fitsimage/fitsimage.h
> In file included from
> ../../../../src/datasources/fitsimage/fitsimage.cpp:12:
> ../../../../src/datasources/fitsimage/fitsimage.h:18:20: error:
> fitsio.h: Datei oder Verzeichnis nicht gefunden
> compiling tmp/moc_fitsimage.cpp
> In file included from tmp/moc_fitsimage.cpp:10:
> tmp/../../../../../src/datasources/fitsimage/fitsimage.h:18:20: error:
> fitsio.h: Datei oder Verzeichnis nicht gefunden
> ../../../../src/datasources/fitsimage/fitsimage.h:54: error: ISO C++
> forbids declaration of ?fitsfile? with no type
> ../../../../src/datasources/fitsimage/fitsimage.h:54: error: expected
> ?;? before ?*? token
> ../../../../src/datasources/fitsimage/fitsimage.cpp: In constructor
> ?FitsImageSource::FitsImageSource(Kst::ObjectStore*, QSetti
> [...]
>
>   
>>> I'd like to see CDF and netCDF
>>> ported (and improved, e.g. to include more metadata at file or
>>>       
> vector
>   
>>> level) and they clearly depend on external libraries.
>>>       
>> These are ready to port.  Datasource now has hooks for both top level
>> scalars
>> and strings, and scalars and strings associated with particular
>>     
> vectors.
>   
>> Would you be able to work on porting them?  It would be really great
>>     
> if
>   
>> you could!
>>     
> I have very little time these days, but I might still come around to it
> (at home probably...). I have to evaluate how much work it is. If in a
> first step I can only make get it to read vectors, that'll already be
> nice. Matrices and other new possibilities can be added subsequently.
> However, I have just taken a quick look at the sample datasource and I
> did not see how scalars and strings can be associated to a vector. I
> found global vector/scalar/matrix/string lists, but that is not at
> object-level, is it? It seems the metadata system has been changed and
> the sampledatasource is not enough to get started. I'll have to look at
> datasource.{h,cpp} where it seems there is more (fieldScalars...). I'll
> let you know.
>
> Nicolas
>
>
> Eurocopter Deutschland GmbH
> Sitz der Gesellschaft/Registered Office: Donauwoerth
> Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
> Geschaeftsfuehrung/Board of Management:
> Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
>
> CONFIDENTIALITY NOTICE 
>
> This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful. 
> If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much. 
> It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message. 
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>   



More information about the Kst mailing list