-
Notifications
You must be signed in to change notification settings - Fork 32
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
Support for Windows? #16
Comments
Hello, @Mereep |
@Mereep I tested and succeeded. This problem is derived from
fn main() {
println!(r"cargo:rustc-link-search=C:\Program Files\netCDF 4.7.4\lib")
}
[package]
name = "net_test"
version = "0.1.0"
authors = ["John Doe"]
edition = "2018"
build = "build.rs"
[dependencies]
peroxide = { version="*", features=["dataframe"] } Then you can build it and run it! |
Hi, thanks this works :) Still, I wonder why cargo does not allow to do such a thing in tha toml-File. Is there a reason the process works under Linux but not under Windows? |
@Mereep My personal reason that works under linux is convenience and performance. |
This is a bug in the netcdf crate, where we do not add the correct path to the linker search path. I hope this will be a non-problem in the future when netcdf can be built statically (see georust/netcdf#56 for progress on this). |
Hello,
I am trying my very first steps in Rust. Actually Peroxide is my first dependency I tried to include into my project. So, it may be a beginners mistake, but I really cannot make it work.
Here is what I did:
Versions:
(Windows 10)
The text was updated successfully, but these errors were encountered: