电脑上按Ctrl + D,下次访问更方便
服务分类

error: linker `link.exe` not found

在Windows下编译Rus的t第一个报错:

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 VS 2013, VS 2015, VS 2017, VS 2019 or VS 2022 was installed with the Visual C++ option

error: aborting due to previous error

错误信息很明显:依赖于微软的 msvc linker.exe。

一般让去下载VS,不过可以直接用rust命令解决。

 rustup toolchain install stable-x86_64-pc-windows-gnu
 rustup default stable-x86_64-pc-windows-gnu

发表回复

登录后才能评论
联系我们

联系我们

微信客服:

fuwu360微信客服

工作时间:周一至周五,9:30-18:30,节假日休息

返回顶部