This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>To: address@hidden >From: John Zbesko <address@hidden> >Subject: netcdfcpp does not compile >Organization: MIT >Keywords: 200306172155.h5HLtQLd024765 Hi John, > Apparently, the C++ interface to NetCDF no longer > compiles under the latest C++ compilers included with > modern Linux distros (Mandrake 9.1 or RedHat). > > Errors referring to "backwards compatability" and > "deprecated" functions result if one attempts to force > gcc to compile the cxx source directory. > > I guess I'll have to try the C interface, but I'm > hoping the C++ interface could be fixed. First please try the latest beta release, which includes updates to the C++ interface for more recent C++ compilers: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-beta.tar.Z Thanks. --Russ _____________________________________________________________________ Russ Rew UCAR Unidata Program address@hidden http://my.unidata.ucar.edu