Unidata / netcdf-cxx4

Official GitHub repository for netCDF-C++ libraries and utilities.
Other
126 stars 49 forks source link

Build 4.3.1 with netcdf-c 4.8.0 #106

Open kmuehlbauer opened 3 years ago

kmuehlbauer commented 3 years ago

We have currently problems to compile netcdf-cxx4 4.3.1 in conda-forge (hdf5 1.10.6, netcdf-c 4.8.0).

Please find the CI build logs here.

The error message

-- Found HDF5: $PREFIX/lib/libhdf5.so (found version "1.10.6") found components: C HL 
CMake Error at CMakeLists.txt:405 (CHECK_LIBRARY_EXISTS):
  CHECK_LIBRARY_EXISTS Macro invoked with incorrect arguments for macro
  named: CHECK_LIBRARY_EXISTS

indicates this issue https://github.com/Unidata/netcdf-cxx4/pull/92

But patching with the provided fix didn't work. There have obviously been other changes to the cmake files. Do you have any recommendations what changes are needed to patch netcdf-cxx4 4.3.1 up to build on top of netcdf-c 4.8.0? Or when will netcdf-cxx4 4.3.2 be released. Any guidance very much appreciated.

xref: https://github.com/conda-forge/netcdf-cxx4-feedstock/pull/34

WardF commented 3 years ago

Taking a look at this now; we are overdue for a cxx (and fortran) release. Thanks!

hmaarrfk commented 2 years ago

I'm really sorry to ask if there is any update on this issue. I'm just asking to make sure it hasn't silently been merged in without a new release.

Thanks!