[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #XXC-119083]: C++ netcdf



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