How to include netcdf library into kdevelop project?

Tom Tran tom.tran at
Thu Feb 12 21:24:02 UTC 2004

We're using kdevelop 2.1 on Fedora Core 1 Linux.  We'd like to  include
<netcdf.h> in our kdevelop project,
but don't know how to set kdevelop to include this library.
Please help.

We had netcdf installed in:


We can compile a c program with #include <netcdf.h> outside of kdevelop
the following compilation command:

    gcc nctest.c -o nctest -I/usr/include -L/usr/lib -lnetcdf

Tom Tran
tom.tran at

More information about the KDevelop-devel mailing list