-
-
Notifications
You must be signed in to change notification settings - Fork 11
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 cross compile from linux to win32 #105
Comments
Please, try without default crate features: |
Sorry, I said the wrong command, actually it is: I tried to build in a windows virtual machine to 32bits using platform i686-pc-windows-msvc but it's not working either. Log from linux: https://pastebin.com/V0KfpCc0 |
I tried compile one o examples here, with You can help @jairinhohw ? |
Are you sure you disabled the default features of the Edit: You may want to try using the cross tool, maybe it can resolve the issue |
using cross solve it, thanks |
Witch computer is the one that does not work? 32 or 64 bits? Are you using the Maybe it is related to this issue, so it may just be unreliable to cross compile from a |
Both machines are 64bits, using cross |
I'm trying to create a win32 dll, I'm running:
cargo build --target=x86_64-pc-windows-gnu --release
and getting this error:
note: /usr/bin/x86_64-w64-mingw32-ld: cannot find -lfbclient
cargo.toml:
lib.rs:
The text was updated successfully, but these errors were encountered: