Sequal32 / simconnect-rust

SimConnect bindings for rust.
MIT License
32 stars 13 forks source link

could not find native static library `SimConnect` #14

Closed markusa380 closed 6 months ago

markusa380 commented 7 months ago

I've got the simplest project scaffolding, with the following line in the Cargo.toml under [dependencies]:

simconnect = "0.3"

I have installed LLVM including Clang.

The error I get is

error: could not find native static library `SimConnect`, perhaps an -L flag is missing?

error: could not compile `simconnect` (lib) due to previous error

when I run cargo build.

I've ensured the rust toolchain is on the latest stable.

I am on Windows 11 Home (Version 10.0.22631 Build 22631).

markusa380 commented 6 months ago

See https://github.com/Sequal32/simconnect-rust/pull/15 for solution