NetCDF and KDevelop
While writing a C++ program, I really need to use the NetCDF format. I have downloaded and compiled NetCDF beta 3.5.1 (including the C++ interface). Everything works just fine, and running "make test" in the cxx directory gives the result "C++ test successful".
My problem is that I would like to use the NetCDF C++ interface in KDevelop (3.1.0). This simply does not work for me!
If I simply include netcdfcpp.h, I can declare variables, but not use them.
NcFile* nc; // Works
nc = new NcFile("example.nc", NcFile::Replace); // Does NOT work
-- or --
NcFile nc("example.nc", NcFile::Replace); // Does NOT work
When adding libnetcdf.a/libnetcdf_c++.a as additional libraries I get "Permission denied", even though I own the files and have all rights to them.
Please help me!