Closed sec13b closed 5 months ago
consider downloading the target with rustup target add x86_64-pc-windows-msvc
or just compiled this on windows
i dont use windows i did: rustup target add x86_64-pc-windows-msvc
┌──(kali㉿kali)-[~/Desktop/byovd/BYOVD/Ksapi64-Killer]
└─$ cargo build --release --target=x86_64-pc-windows-msvc
Compiling windows_x86_64_msvc v0.52.5
Compiling winapi v0.3.9
Compiling clap v0.5.14
Compiling windows-targets v0.52.5
Compiling windows-sys v0.52.0
Compiling ctrlc v3.4.4
Compiling Ksapi64-Killer v0.1.0 (/home/kali/Desktop/byovd/BYOVD/Ksapi64-Killer)
error: linker `link.exe` not found
|
= note: No such file or directory (os error 2)
note: the msvc targets depend on the msvc linker but `link.exe` was not found
note: please ensure that Visual Studio 2017 or later, or Build Tools for Visual Studio were installed with the Visual C++ option.
note: VS Code is a different product, and is not sufficient.
error: could not compile `Ksapi64-Killer` (bin "Ksapi64-Killer") due to 1 previous error
┌──(kali㉿kali)-[~/Desktop/byovd/BYOVD/Ksapi64-Killer]
If you don't want to use Windows, that's up to you, but the error is very clear
ok , i will make a image , and try compile in vmware
thank you
on windows compile perfectly , thank you
i`m facing this problem , can you give me a solution? Kali
thank you