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.
Hi Edwin, Oops, the released installation guide doesn't even mention the --enable-cxx4 option to configure. The new install documentation at http://www.unidata.ucar.edu/software/netcdf/docs_snapshot/netcdf-install.html says: --enable-cxx4 Turns on the new C++ API, which is currently under development, and will expose the full expanded model in the C++ API. The cxx4 API is experiemental, unfinished, and untested. It is provided for experiemental purposes only. What is there now is the result of a summer student project. Another collaborator has just begun looking at it with an eye to finishing it, but that's why --enable-cxx-4 is not the default for configure at this time. What you want to do is build without it, and use the C API from C++, which will be built by default and which supports netCDF-4 classic model file access. We hope that the cxx4 API will be ready in a future release of netCDF, but it is not ready now. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: TSF-919053 Department: Support netCDF Priority: Normal Status: Closed