libvtkexodusII-8.90.dll: undefined reference to H5get_libversion
seems latest git master does not build with MinGW anymore because the exodusII target does not link against hdf5:
cd /home/schueller/projects/vtk-git/src/vtk/build-i686-w64-mingw32/ThirdParty/exodusII/vtkexodusII && /usr/bin/cmake -E cmake_link_script CMakeFiles/exodusII.dir/link.txt --verbose=1
/usr/bin/cmake -E remove -f CMakeFiles/exodusII.dir/objects.a
/usr/bin/i686-w64-mingw32-ar cr CMakeFiles/exodusII.dir/objects.a @CMakeFiles/exodusII.dir/objects1.rsp
/usr/bin/i686-w64-mingw32-gcc -D_FORTIFY_SOURCE=2 -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -mwin32 -mthreads -D_FORTIFY_SOURCE=2 -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -Wl,-O1,--sort-common,--as-needed -mthreads -Wl,-O1,--sort-common,--as-needed -shared -o ../../../bin/libvtkexodusII-8.90.dll -Wl,--out-implib,../../../lib/libvtkexodusII-8.90.dll.a -Wl,--major-image-version,8,--minor-image-version,90 -Wl,--whole-archive CMakeFiles/exodusII.dir/objects.a -Wl,--no-whole-archive @CMakeFiles/exodusII.dir/linklibs.rsp
/usr/lib/gcc/i686-w64-mingw32/9.1.0/../../../../i686-w64-mingw32/bin/ld: CMakeFiles/exodusII.dir/objects.a(ex_utils.c.obj):ex_utils.c:(.text+0x5f4): undefined reference to `H5get_libversion'
collect2: error: ld returned 1 exit status
make[3]: *** [ThirdParty/exodusII/vtkexodusII/CMakeFiles/exodusII.dir/build.make:4424: bin/libvtkexodusII-8.90.dll] Error 1
But it links fine if I add VTK::hdf5
to exodusII/vtk.module
Any changes recently to the build system @ben.boeckel or exodus @utkarsh.ayachit ?
It looks like exodus must be linked to hdf5 as H5get_libversion is actually used, maybe it is linked privately to hdf5 via netcdf ?