-
Notifications
You must be signed in to change notification settings - Fork 86
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
Doesn't seem to register HDF5 1.14.2 as a version. #257
Comments
Do you have the version string? In #243 I saw and implemented support for strings like |
I'm sorry. I don't understand what that means. |
If you look in the |
It is the same as this issue title "1.14.2" /* Version number of package */
#define H5_VERSION "1.14.2" |
I'm having the same problem. On Arch linux 6.5.8 with the latest hdf5 1.14.2-1 package installed, cargo fails when building a project with hdf5 0.8.1 as a dependency.
My /* Version number of package */
#define H5_VERSION "1.14.2" |
Are you using the version from |
I was using |
@aldanor Maybe we should release a new version soon? |
I'm having this problem as well on an M1 mac:
I've attempted setting those flags as suggested in the error. |
@nleroy917 try to set the hdf5 dependency to the git repo in your [dependencies]
hdf5 = { git = "https://github.com/aldanor/hdf5-rust.git" } |
I just saw your comment above. Thank you, I will try this. I'm actually getting this build error in someone elses project, so I need to do a clone, change the |
@nleroy917 Is it possible to add an override? https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html |
😱 That worked super well. Even better since |
Could be easier to use the static version of |
Oh, it looks like its actually an issue with
Interestingly, I don't even have [patch.crates-io]
hdf5 = { git = "https://github.com/aldanor/hdf5-rust.git" }
hdf5-sys = { git = "https://github.com/aldanor/hdf5-rust.git", features = ["static", "zlib"]} |
If I do this, it breaks my dependency on hdf5-sys. Is there a way to adjust for this? I'm reasonably new to rust and don't have a great grasp on the way the cargo works. |
@trippalamb Add another line with |
That did indeed seem to fix it. I appreciate it. |
I was able to solve my problem by just |
Had to roll back to 1.10.10 in order for hdf5-sys to register a version of HDF5 during the cargo build process.
The text was updated successfully, but these errors were encountered: