note: please ensure that VS 2013,VS 2015, VS 2017,VS 2019 or VS 2022 was instal1ed with the Visua1 C

编译rust代码报错:

【报错信息】

error : 1inker ^link.exe`not found

    = note: program not found
note: the msvc targets depend on the msvc linker but `link.exewas not found


note: please ensure that VS 2013,VS 2015, VS 2017,VS 2019 or VS 2022 was instal1ed with the Visua1 C++ option

error : aborting due to previous error

【解决方案】

安装“Microsoft Visual C++Build Tools”

      (visualcppbuildtools_full.exe)

如提示:Microsoft Visual C++Build Tools安装包丢失或损坏,请参考以下文章

Microsoft Visual C++Build Tools安装包丢失或损坏【解决方案】_爱学习的佳的博客-CSDN博客

猜你喜欢

转载自blog.csdn.net/love906897406/article/details/125355447