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

[netCDF #IRI-201072]: missing netcdf.h file

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.


  • Subject: [netCDF #IRI-201072]: missing netcdf.h file
  • Date: Tue, 20 Oct 2015 09:40:09 -0600

Hello Emilian,

The `netcdf.h` file is part of the `C` library distribution; you can download 
and install this from http://github.com/Unidata/netcdf-c.  The latest version 
is 4.3.3.1, with a 4.4.0 release candidate also available.  

The C++ interface you have downloaded is a legacy version and is no longer 
actively supported.  You might want to consider using the latest version, 
available from http://github.com/Unidata/netcdf-cxx4

I hope this helps!

-Ward

> Hello,
> 
> I downloaded the c++ version: netcdf-cxx-4.2.1.tar.gz and when I ran
> ./configure script it does not find the netcdf.h header, where I can
> get it from?
> 
> Thanks,
> -emilian
> 
> 
> 


Ticket Details
===================
Ticket ID: IRI-201072
Department: Support netCDF
Priority: Normal
Status: Closed