-
Notifications
You must be signed in to change notification settings - Fork 95
Using feature 'static' seems broken #164
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
Comments
left: content of |
Seems my |
@mulimoen It seems like that the missing files are only required on macOS for successful building. |
@zingi It is a bit strange that this fails for you, the CI on |
I don't have any special setup. I was just starting a project: # Cargo.toml
[dependencies]
netcdf = { version = "0.6.1", features = ["static"] } // main.rs
use std::path::Path;
fn main() {
let nc = netcdf::open(Path::new("/path/to/a/file.nc")).unwrap();
println!("{:?}", nc);
}
|
Closed in #179 |
Problem
I wanted to build a project with:
which should also build
hdf5-sys
with thestatic
feature.But I get following error:
Error Message
It seems like, that there is something missing from the git submodule located here: https://github.com/aldanor/hdf5-rust/tree/master/hdf5-src/ext
Excerpt from error logs:
Temporary Fix
When I download the content of the referenced hdf5 version ( hdf5 db30c2d ) manually and replace all content in
~/.cargo/registry/src/github.com-1ecc6299db9ec823/hdf5-src-0.7.1/ext/hdf5
it builds successfully.System Information
I am using:
rustc 1.53.0 (53cb7b09b 2021-06-17)
,but I also tried with:
1.52-x86_64-apple-darwin
toolchain and1.50-x86_64-apple-darwin
toolchain.The text was updated successfully, but these errors were encountered: