Automated tests fail on macOS because of a mismatch between the versions of the HDF5 library currently installed by homebrew (v2.0.0) and the one required by kspaceFirstOrder3D (v1.14.6).
Until a proper fix is found, the appropriate HDF5 version can be installed manually as follows:
It turns out libhdf5.310.dylib apparently dates back to hdf5 version 1.14.
The homebrew formula for this specific version is not available by default but I managed to find a way to install it.
brew tap-new <USER>/local-hdf5
brew extract --version=1.14.6 hdf5 <USER>/local-hdf5
brew install <USER>/homebrew-local-hdf5/hdf5@1.14.6
brew developer off
At this point libhdf5.310.dylib lives in /opt/homebrew/opt/hdf5@1.14.6 and k-wave still cannot find it.
It is a bit messy but creating a symlink with the unversioned named does the trick for now.
ln -s /opt/homebrew/opt/hdf5@1.14.6 /opt/homebrew/opt/hdf5
...
Originally posted by @Tomaubier in #661
Automated tests fail on macOS because of a mismatch between the versions of the HDF5 library currently installed by homebrew (v2.0.0) and the one required by
kspaceFirstOrder3D(v1.14.6).Until a proper fix is found, the appropriate HDF5 version can be installed manually as follows:
Originally posted by @Tomaubier in #661