Closed Antonio-Bennett closed 1 year ago
I have the same problem
If you are building from linux, you'll need to cross compile. cargo build --target x86_64-pc-windows-gnu -r
Thanks for the info @casret , had a problem with the linker with the cross compilation command however: Ended up using https://github.com/cross-rs/cross to do it
Basically
cargo clean
then
cross build --target x86_64-pc-windows-gnu
which worked for me
Cheers @jemag - cross
did the trick for me too!
Correct, win32yank is a native windows application (calls the windows clipboard API). To build it from linux or wsl you will always need to cross compile, or build using the native windows toolchain instead.
Hello sorry for my ignorance but I'm trying to build win32yank and I keep getting unresolved import error as seen below. What is the possible reason?