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.
Oops, I wrote: > ... for me this is all that's necessary, assuming > I have installed netCDF in /usr/local/ : > > g++ -I/upc/netcdf/include pres_temp_4D_wr.cpp -o pres_temp_4D_wr \ > -L/upc/netcdf/lib -lnetcdf_c++ -lnetcdf forgetting to substitute "/usr/local/" for "/upc/netcdf/" (which is where we have it installed. I should have said g++ -I/usr/local/include pres_temp_4D_wr.cpp -o pres_temp_4D_wr \ -L/usr/local/lib -lnetcdf_c++ -lnetcdf --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: XXC-119083 Department: Support netCDF Priority: Normal Status: Closed