Rust dilinde "cargo run" komutunda "error: linker `link.exe` not found" hatası nasıl çözülür?

  • Konbuyu başlatan Admin
  • Başlangıç tarihi
A

Admin

Yönetici
Yönetici
Rust'ı yüklediniz, cargo new ile yeni projenizi oluşturdunuz. Tam varsayılan olan "Hello World" fonksiyonunu test edeceksinizki cargo run komutu sonrası karşınıza aşağıdaki hata geldi!

Kod:

Kod:
error: linker `link.exe` not found
  |
  = note: program not found

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...

 
Geri
Üst