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

Can't build for Windows #17

Open
sergi0g opened this issue Nov 22, 2023 · 0 comments
Open

Can't build for Windows #17

sergi0g opened this issue Nov 22, 2023 · 0 comments

Comments

@sergi0g
Copy link

sergi0g commented Nov 22, 2023

Hey @D0ntPanic
First of all, this project is awesome. I built it on Linux and it works very nicely. I also wanted to get it working on my Windows PC, so I tried to cross compile it. The build fails because of an error in the btleplug build. This is the output i get:

error: couldn't read /home/user/tpscube/target/x86_64-pc-windows-gnu/release/build/btleplug-e38c97c16fb69e96/out/windows.rs: No such file or directory (os error 2)
  --> /home/user/.cargo/git/checkouts/btleplug-598aa7c57dd9c2e3/e43a788/src/winrtble/bindings.rs:16:1
   |
16 | include_bindings!();
   |
   |
   = note: this error originates in the macro `::std::include` which comes from the expansion of the macro `include_bindings` (in Nightly builds, run with -Z macro-backtrace for more info)

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

I am running Rust 1.74.0

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