HDF5 1.12.1 and Windows
Just experienced a problem building MOAB with HDF5 1.12.1 (in our CI, conda updated hdf5 version without me noticing):
WriteHDF5.obj : error LNK2019: unresolved external symbol H5T_NATIVE_UINT64_g referenced in function "void __cdecl `dynamic initializer for 'public: static __int64 const moab::WriteHDF5::id_type''(void)" (??__E?id_type@WriteHDF5@moab@@2_JB@@YAXXZ)
this was fix by reverting to `1.10.6`
Comments (2)
-
-
I assume this is still a problem? Or did you manage to get around with a patch? I don’t have anything working on Windows locally anymore and there is no way for me to test there. So I really can’t help in resolving this issue. If the HDF5 in Windows isn’t configured with 64 bit ints, perhaps downgrading id_type with a typedef might work. Just a suggestion. Obviously has implications on the size of the mesh that can be written out.
- Log in to comment
Thanks. Feel free to submit a fix as long as its backward compatible