[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #VZD-784217]: Compile Issues
- Subject: [netCDF #VZD-784217]: Compile Issues
- Date: Mon, 12 Mar 2012 16:04:59 -0600
Hi Mack,
Make sure you are linking to both the netCDF Fortran library and the netCDF
C library, which in version 4.1.3 are separate libraries. So to link a
program with both libraries, you need to use both of
-lnetcdff -lnetcdf
on the compile/link line. If you didn't include the first of these, it would
cause the error messages you are seeing.
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: VZD-784217
Department: Support netCDF
Priority: Normal
Status: Closed