-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hdf5 1.12.0 support #476
Comments
What do you suggest?
Finally, would you be willing to supply a pull request? |
If I’d care only about my use case (packaging for Arch Linux), I’d say 2., but 3. might be generally better. I’d love to do a PR, but I definitively lack the skills for it (I only have very superficial knowledge of C/C++ and never wrote something else than a simple exercise in either of those languages). So while I can see the issue are changes in some H5 functions arguments, I would not trust my ability to fix them correctly. |
@hmeine I fixed a similar issue for csound, it was relatively trivial: |
EDIT: Scratch that, I did not build against 1.12 actually, it still fails as above… EDIT2: Of course, |
vigra is not yet compatible with the v1.12 API [0][1]. [0] ukoethe/vigra#476 [1] ukoethe/vigra#476
diff --git a/src/impex/hdf5impex.cxx b/src/impex/hdf5impex.cxx
index 2c68342e..682e0126 100644
--- a/src/impex/hdf5impex.cxx
+++ b/src/impex/hdf5impex.cxx
@@ -190,7 +190,7 @@ H5O_type_t HDF5_get_type(hid_t loc_id, const char* name)
{
// get information about object
H5O_info_t infobuf;
- H5Oget_info_by_name(loc_id, name, &infobuf, H5P_DEFAULT);
+ H5Oget_info_by_name(loc_id, name, &infobuf, H5O_INFO_BASIC, H5P_DEFAULT);
return infobuf.type;
} might work, the other alternative is to use https://portal.hdfgroup.org/display/HDF5/Migrating+from+HDF5+1.10+to+HDF5+1.12 |
hdf5 1.12.0 introduces some API changes. This results in build error:
There might be others, see the migrating help.
The text was updated successfully, but these errors were encountered: