Unidata / netcdf-c

Official GitHub repository for netCDF-C libraries and utilities.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build netcdf 4.9.3 with hdf5-1.14.3 in windows using MSVC 2022 using cmake

jbensabat opened this issue · comments

Hello
I am trying to build  netcdf 4.9.3, using CMAKE
First I build the hdf5 lib (version 1.14.3)
in cmake netcdf does not find directories and or files relevant to hdf (each time I get a different error message)
example

Using HDF5 include dir: C:/software/hdf/hdf5-1.14.3/include;
Checking for HDF5 config header
CMake Error at cmake/check_hdf5.cmake:30 (message):
Could not include any HDF5 config headers
Call Stack (most recent call first):
cmake/check_hdf5.cmake:39 (check_hdf5_feature_header)
cmake/dependencies.cmake:312 (check_hdf5_feature)
CMakeLists.txt:851 (include)

Configuring incomplete, errors occurred!

any help could really be appreciated
best
jac

To report a non-security related issue, please provide:

  • the version of the software with which you are encountering an issue
  • environmental information (i.e. Operating System, compiler info, java version, python version, etc.)
  • a description of the issue with the steps needed to reproduce it

If you have a general question about the software, please view our Suggested Support Process.