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

Brisset, Nicolas Nicolas.Brisset at eurocopter.com
Tue Aug 24 18:20:28 CEST 2010



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


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...





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


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. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20100824/24bdb22a/attachment.htm 

More information about the Kst mailing list