Closed TheChymera closed 5 years ago
The problem is mismatched version of system's HDF5. Here is the relevant part of the build log:
[01m[K/var/tmp/portage/sci-libs/itk-5.0_rc1/work/ITK-5.0rc01/Modules/ThirdParty/MINC/src/libminc/libsrc2/volume.c:[m[K In function â[01m[K_hdf_open[m[Kâ:
[01m[K/var/tmp/portage/sci-libs/itk-5.0_rc1/work/ITK-5.0rc01/Modules/ThirdParty/MINC/src/libminc/libsrc2/volume.c:120:32:[m[K [01;31m[Kerror: [m[Kâ[01m[KH5F_LIBVER_V18[m[Kâ undeclared (first use in this function); did you mean â[01m[KH5F_LIBVER_LATEST[m[Kâ?
H5Pset_libver_bounds(prp_id, [01;31m[KH5F_LIBVER_V18[m[K, H5F_LIBVER_V18);
[01;31m[K^~~~~~~~~~~~~~[m[K
[32m[KH5F_LIBVER_LATEST[m[K
[01m[K/var/tmp/portage/sci-libs/itk-5.0_rc1/work/ITK-5.0rc01/Modules/ThirdParty/MINC/src/libminc/libsrc2/volume.c:120:32:[m[K [01;36m[Knote: [m[Keach undeclared identifier is reported only once for each function it appears in
[01m[K/var/tmp/portage/sci-libs/itk-5.0_rc1/work/ITK-5.0rc01/Modules/ThirdParty/MINC/src/libminc/libsrc2/volume.c:[m[K In function â[01m[K_hdf_create[m[Kâ:
[01m[K/var/tmp/portage/sci-libs/itk-5.0_rc1/work/ITK-5.0rc01/Modules/ThirdParty/MINC/src/libminc/libsrc2/volume.c:223:30:[m[K [01;31m[Kerror: [m[Kâ[01m[KH5F_LIBVER_V18[m[Kâ undeclared (first use in this function); did you mean â[01m[KH5F_LIBVER_LATEST[m[Kâ?
H5Pset_libver_bounds(fpid, [01;31m[KH5F_LIBVER_V18[m[K, H5F_LIBVER_V18);
[01;31m[K^~~~~~~~~~~~~~[m[K
[32m[KH5F_LIBVER_LATEST[m[K
You should use HDF5 1.10.2 or newer, or 1.8.x or earlier. Or use the version built into ITK. Versions 1.10.0 and 1.10.1 have a versioning problem. See the discussion about it.
I thought that the error message would have been clearer. @gdevenyi can you figure out why the error message is generic, and not the one we wrote which says something like HDF5 versions 1.10.0 and 1.10.1 are unsupported
?
Description
itk fails to build
Steps to Reproduce
Actual behavior
build.log