NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
I recently downloaded netcdf version 2.3.2, and have been successful in using everything but the C++ interface. The Makefile in the c++ directory dies, complaining as in the error messages I pasted below. It fails whether I use 'g++' or the ATT compiler. I'm writing to ask whether anybody else has been successful in getting the C++ stuff working. Dan Kelley | dan.kelley@xxxxxx (902)494-1694 Oceanography Department | Dalhousie University | Halifax, NS, CANADA, B3H 4J1 | g++ -g -I../libsrc -sun4 -c netcdf.cc In file included from netcdf.hh:14, from netcdf.cc:12: ncvalues.hh:20: conflicting types for `unsigned char' ../libsrc/netcdf.h:281: previous declaration as `char' netcdf.cc: In method `enum NcFile::FillMode NcFile::get_fill()': netcdf.cc:210: return-type is an incomplete type netcdf.cc:210: conflicting types for `void NcFile::get_fill()' netcdf.hh:87: previous declaration as `enum NcFile::FillMode NcFile::get_fill()' netcdf.cc: In method `void NcFile::get_fill()': netcdf.cc:213: invalid use of undefined type `enum NcFile::FillMode' netcdf.cc:216: invalid use of undefined type `enum NcFile::FillMode' netcdf.cc:218: invalid use of undefined type `enum NcFile::FillMode' *** Error code 1 make: Fatal error: Command failed for target `netcdf.o'
netcdfgroup
archives: