Skip to content
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

Can't compile as dependencies #30

Closed
AntoineRenaud91 opened this issue Sep 28, 2023 · 3 comments
Closed

Can't compile as dependencies #30

AntoineRenaud91 opened this issue Sep 28, 2023 · 3 comments

Comments

@AntoineRenaud91
Copy link

Compiling an empty project with the following Cargo.toml

[package]
name = "hidefix-test"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
hidefix = { version = "0.8", git = "https://github.com/gauteh/hidefix.git"}

yield a compile error:

..:~/.../hidefix-test$ cargo +nightly build -r
...
error[E0599]: no method named `chunks_visit` found for reference `&hdf5::Dataset` in the current scope
   --> /home/arenaud/.cargo/git/checkouts/hidefix-8eedc5ee6b6656b5/ecfb111/src/idx/dataset/dataset.rs:106:24
    |
106 |                     ds.chunks_visit(|ci| {
    |                     ---^^^^^^^^^^^^ help: there is a method with a similar name: `chunk_info`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `hidefix` (lib) due to previous error
@gauteh
Copy link
Owner

gauteh commented Sep 28, 2023

Hi,

You need to use this patched version og rust hdf5: https://github.com/gauteh/hidefix/blob/main/Cargo.toml#L57, we are using a newer version of hdf5 with some features we added. That patched version is submitted to hdf5 -rust, but has not yet been merged.

Regards, Gaute

@gauteh
Copy link
Owner

gauteh commented Sep 28, 2023

Maybe this one would allow us to make a new release: aldanor/hdf5-rust#243

@AntoineRenaud91
Copy link
Author

Thanks ! I close this issue :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants