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.
Howdy Alex! You must also link to the C++ library. Instead of -lnetcdf use: -lnetcdf_c++ -lnetcdf This will link to both the C++ and the C library. Thanks, Ed Ticket Details =================== Ticket ID: IEU-279311 Department: Support netCDF Priority: Critical Status: Closed