You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[CLang](https://clang.llvm.org/get_started.html) (See the [Rust Bindgen Documentation](https://rust-lang.github.io/rust-bindgen/requirements.html))
6
+
- MSVC x64 Rust build (`x86_64-pc-windows-msvc`, see [The rustup book](https://rust-lang.github.io/rustup/installation/windows.html))
7
+
3
8
## Using
4
9
Add this to your `Cargo.toml`
5
10
```toml
@@ -10,9 +15,8 @@ simconnect = "0.3.1"
10
15
## Building
11
16
*The SimConnect binaries are included within this repository, but they may not be up-to-date.*
12
17
13
-
1. Install [CLang](https://clang.llvm.org/get_started.html). More information available at the [Rust Bindgen Documentation](https://rust-lang.github.io/rust-bindgen/requirements.html).
14
-
2. run `cargo build`
15
-
3. Add `use simconnect` at the top of your file
18
+
1. run `cargo build`
19
+
2. Add `use simconnect` at the top of your file
16
20
17
21
## Example
18
22
Read float position data
@@ -28,8 +32,5 @@ cargo run --example aircraft_updates_on_change
28
32
29
33
*You must have SimConnect.dll in the same directory as the compiled exe for it to run (e.g. in )*
30
34
31
-
## Building
32
-
*The SimConnect.dll is included in this repository, but might not be up-to-date*
33
-
34
35
### Remarks
35
36
I have not tested every single function from the api. If you find an error, feel free to make an issue or a pull request.
0 commit comments