I'm working on a C++ project which handles weather data in NetCDF format. I downloaded the NetCDF binaries from this link and installed it.
Also configured the VS project as follows:
VC++ Directories -> Library Directories = C:\Program Files (x86)\netCDF 4.3.3.1\bin;C:\Program Files (x86)\netCDF 4.3.3.1\lib;
C/C++ -> Additional Include Directories = C:\Program Files (x86)\netCDF 4.3.3.1\include
Linker -> Input = netcdf.lib
But the problem is I cannot access the netCDF namespace.
using namespace netCDF; //gives an error
But accessing header files doesn't make any trouble
#include <netcdf.h> //no error
Can someone help me out on this..........