Skip to content

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

@jbensabat

Description

@jbensabat

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions