Closed sandersbasket closed 2 months ago
cl.exe
is not found, did you install the msvc?
cl.exe
is not found, did you install the msvc?
yeah
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.
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.
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.
screenshot
YEAAAAHHHH!! FIXED!!!
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....