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

Cargo Crate Outdated causing build error from sdk location #25

Open
jaxsonpd opened this issue Dec 26, 2024 · 0 comments
Open

Cargo Crate Outdated causing build error from sdk location #25

jaxsonpd opened this issue Dec 26, 2024 · 0 comments

Comments

@jaxsonpd
Copy link

This is unimportant!

I just want to use this crate for a pet project I am working on, but I could just as well use Python, so it's no big deal.

The current version of this project uploaded on cargo is outdated. This causes cargo build in the user project to fail due to the samples/simvars directory not existing, as discussed (and fixed) in pull request #14.

Could a newer version be published? I tried to build from source but there are complications regarding the c compiler for the cc crate install which I would rather avoid dealing with (as I am not experienced with rust enough).

Thank you for all your work! and no worries if you are too busy.

Windows 11
cargo 1.82.0 (8f40fc59f 2024-08-21)
rustc 1.82.0 (f6e511eec 2024-10-15)

error:

error: failed to run custom build command for `msfs_derive v0.1.0`

Caused by:
  process didn't exit successfully: `xxxxxx\target\debug\build\msfs_derive-492afda7a559a21c\build-script-build` (exit code: 101)

 --- stdout
  Found MSFS SDK: "C:\\MSFS SDK\\"

  --- stderr
  thread 'main' panicked at xxxxxxx\.cargo\registry\src\index.crates.io-6f17d22bba15001f\msfs_derive-0.1.0\build.rs:12:6:
  called `Result::unwrap()` on an `Err` value: Os { code: 3, kind: NotFound, message: "The system cannot find the path specified." }
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
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

1 participant