How to include netcdf library into kdevelop project?

Tom Tran tom.tran at noaa.gov
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:

    /usr/include/netcdf.h
   /usr/include/netcdf.inc
   /usr/lib/libnetcdf.a

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

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

Thanks.
Tom Tran
tom.tran at noaa.gov





More information about the KDevelop-devel mailing list