[Kst] kst2 compilation under linux with headers in non-standard location

Peter Kümmel syntheticpp at gmx.net
Wed Aug 25 00:04:47 CEST 2010


On linux pkg ist used, but I dont know if it
is enough to call 'make install' to make it work.

Have you tried to install the netcdf packages provided
for your distribution? For instance
https://launchpad.net/ubuntu/+source/netcdf

You could also try to patch netcdf.pro file in
kst/src/datasources/netcdf.

Peter



Brisset, Nicolas wrote:
> Hi,
> 
>  
> 
> When I try to compile kst2 from svn I get an error because netcdf
> headers are not found. I have installed netcdf in a non-standard
> location (say /my/custom/path with includes under
> /my/custom/path/include) and I can't manage to get qmake to generate
> Makefiles where they get picked up correctly. 
> 
>  
> 
> I have tried adding lines like:
> 
> INCLUDEPATH += /scratch/franz/brisset/include
> 
> or
> 
> QMAKE_INCDIR += /scratch/franz/brisset/include
> 
> at the top of kst.pro but with no luck.
> 
>  
> 
> If someone knows how to get this to work without ugly hacks, I'd be
> grateful. I can also uninstall netcdf (then it works) but I'd like to be
> able to play with metadata, and netcdf is the best format for that...
> 
>  
> 
> Thanks,
> 
>  
> 
> 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