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
error: failed to run custom build command for libnghttp2-sys v0.1.9+1.58.0
#1044
Comments
|
maybe it's build.rs file? fn main() {
let mut windows = tauri_build::WindowsAttributes::new();
windows = windows.app_manifest(r#"
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
"#);
let attrs = tauri_build::Attributes::new().windows_attributes(windows);
tauri_build::try_build(attrs).expect("failed to run build script");
} upd: i checked, it's not about him |
Did you install msvc toolchain for arm? I think it might need to install separately, when cross compiling arm on x64. |
honestly, I tried everything at all, installing rustc, MS VC, and so on, you can links or resources, what exactly do you need to install? I think I tried everything) |
I'm not sure about that, cc @thomcc I think you might know how to do? |
It should be in the MSVC installer, a checkbox you choose the ARM and ARM64 build tools for C++ in the individual components tab. |
Awhile back I wrote a walkthrough for rustup which included installing individual components (though with the UI in English). The difference here is that on the "Individual Components" tab you need to search for "ARM64/ARM64EC" the latest MSVC build tools for ARM64 should be near or at the top. |
YEAAAAHHHH!! |
That's good to hear, I will close this issue as completed : ) |
how to fix problem?
i need compile rust + tauri to NSIS, but i have error, console output:
i have build tools and rustup, cargo and another modules for compile, but have error....
The text was updated successfully, but these errors were encountered: