tpscube icon indicating copy to clipboard operation
tpscube copied to clipboard

Can't build for Windows

Open sergi0g opened this issue 1 year ago • 0 comments

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

sergi0g avatar Nov 22 '23 13:11 sergi0g