Hi,
I'm quite new to rust. It works fine for me so far and I could write a small ray tracing application that is astonishingly fast. In order to use rust fo my work I need a few things, amoung them hdf5. I tried to install hdf5_rs but failed so far.
kubuntu 18.04
hdf5 10.0 installed via apt
rust 1.32
My cargo.tomls is:
[package]
name = "hdf5test"
version = "0.1.0"
authors = ["westerrolf.wester@mailbox.org;"]
edition = "2018"
[dependencies]
hdf5-rs = "0.2.0"
libhdf5-sys = "0.2.0"
ndarray = { version = "0.12.1", features = ["blas"] }
blas-src = { version = "0.2.0", default-features = false, features = ["openblas"] }
openblas-src = { version = "0.6.0", default-features = false, features = ["cblas", "system"] }
I use the example given at "GitHub - aldanor/hdf5-rust: HDF5 for Rust" plus:
#[macro_use]
extern crate hdf5_rs;
#[macro_use]
extern crate ndarray;
#[macro_use]
extern crate libhdf5_sys;
use hdf5_rs::prelude::*;
but I get:
failed to resolve: use of undeclared type or module h5
--> src/main.rs:12:10
|
12 | #[derive(h5::H5Type, Clone, PartialEq, Debug)]
| ^^ use of undeclared type or module h5
plus some more. I probably do something wrong concerning "use". I would be very apprciative for any help.
Regards
Rolf