Skip to content

Cargo Crate Outdated causing build error from sdk location #25

@jaxsonpd

Description

@jaxsonpd

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions