We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to cross-compile windows binaries on linux I am receiving the error:
💥 maturin failed Caused by: Failed to build a native library through cargo Caused by: no cab files were referenced by the MSI
See upstream issue on cargo-xwin: Jake-Shadle/xwin#126
The proposed solution is to provide the sdk version using the --sdk-version command line argument, but it's not clear how to pass it via maturin.
maturin --version
1.6.0
python -V
3.11
pip -V
23.0.1
pyo3
cargo build
/
maturin build --release --target x86_64-pc-windows-msvc -i python3.11
The text was updated successfully, but these errors were encountered:
You can try set env var XWIN_VERSION=16.
XWIN_VERSION=16
Sorry, something went wrong.
great, this worked! Thank you!
Successfully merging a pull request may close this issue.
Bug Description
When trying to cross-compile windows binaries on linux I am receiving the error:
See upstream issue on cargo-xwin: Jake-Shadle/xwin#126
The proposed solution is to provide the sdk version using the --sdk-version command line argument, but it's not clear how to pass it via maturin.
Your maturin version (
maturin --version
)1.6.0
Your Python version (
python -V
)3.11
Your pip version (
pip -V
)23.0.1
What bindings you're using
pyo3
Does
cargo build
work?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/
)?Steps to Reproduce
maturin build --release --target x86_64-pc-windows-msvc -i python3.11
The text was updated successfully, but these errors were encountered: