HDF5 Error: File Failed to Open for Reading During Configure
Issue
On Windows 10 x64, after cloning master and pressing Configure
in CMake-GUI 3.21.1, I see this error:
CMake Error at ThirdParty/hdf5/vtkhdf5/config/cmake/ConfigureChecks.cmake:361 (file):
file failed to open for reading (No such file or directory):
C:/VTK/build/pac_Cconftest.out
Call Stack (most recent call first):
ThirdParty/hdf5/vtkhdf5/CMakeLists.txt:503 (include)
Is this a dup of #18265 (closed)?
Also, CMAKE_INSTALL_PREFIX
gets set to the path for my system install of HDF5 on first configure:
C:/Program Files/HDF_Group/HDF5/1.12.1
Regardless if CMAKE_INSTALL_PREFIX
is changed, reconfiguring always yields same error:
CMake Error at ThirdParty/hdf5/vtkhdf5/config/cmake/ConfigureChecks.cmake:361 (file):
file failed to open for reading (No such file or directory):
C:/VTK/build/pac_Cconftest.out
Call Stack (most recent call first):
ThirdParty/hdf5/vtkhdf5/CMakeLists.txt:503 (include)
How can I fix this error?