Closed thomasaarholt closed 4 years ago
Since the code tells me it might be relevant, here is a screenshot of the regedit properties of the uninstall reg for the hdf5 installation:
Hi, this crate is not yet compatible with 1.12, see #94 and #95. If you try PR #95 you could set HDF5_DIR and the crate should compile with this version. You can add this to your Cargo.toml
[patch]
[patch.crates-io]
hdf5 = { git = "https://github.com/mulimoen/hdf5-rust.git", branch="feature/hdf5-1.12.0" }
Another option is building HDF5
from source and linking statically. To do this you can add
[patch]
[patch.crates-io]
hdf5 = { git = "https://github.com/aldanor/hdf5-rust.git", features = ["hdf5-sys/static"] }
Excellent! I'm new to Rust, so this is a nice learning experience. I'll try this tomorrow!
The first suggestion worked beautifully! Just one little typo: [patch.crates.io]
-> [patch.crates-io]
.
Should be fixed by #95
Hiya,
I've just tried installing HDF5 1.12 and restarting my Windows 10 computer. I have not previously tried running hdf5-rust, so I don't know if this is something to do with the latest version, my Windows install, or hdf5-rust. My hdf5 install is located at
C:\Program Files\HDF_Group\HDF5\1.12.0
, (this folder contains thebin
,include
, etc. folders).Running the example from the readme, I'm getting