the msvc targets depend on the msvc linker but link.exe was not found

错误显示:

C:/Users/Administrator/.cargo/bin/cargo.exe run --color=always --package hello-rust --bin hello-rustCompiling hello-rust v0.1.0 (F:\wh\wh-rust\hello-rust)
error: linker `link.exe` not found|= note: 系统找不到指定的文件。 (os error 2)note: the msvc targets depend on the msvc linker but `link.exe` was not foundnote: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ optionerror: aborting due to previous errorerror: could not compile `hello-rust`.To learn more, run the command again with --verbose.Process finished with exit code 101

解决:

下载安装 visualcppbuildtools_full.exe

下载地址:
https://download.microsoft.com/download/5/f/7/5f7acaeb-8363-451f-9425-68a90f98b238/visualcppbuildtools_full.exe

the msvc targets depend on the msvc linker but `link.exe` was not found相关推荐

  1. Rust在windows下安装以后cargo build Error: linker `link.exe` not found

    问题示例: D:\rust\runoob-greeting\greeting>cargo build error: linker `link.exe` not found|= note: 系统找 ...

  2. error: linker `link.exe` not found

    Rust在windows下第一课,编译报错: cargo buildCompiling rsj-kv v0.1.0 (D:\workspace\git\rsj-kv) error: linker `l ...

  3. [Rust]cargo run时error: linker `link.exe` not found

    问题 cargo run时error: linker link.exe not found 解决办法 在 Linux 或 macOS 上安装 rustup 如果你使用的是 Linux 或 macOS, ...

  4. Transformers库安装报错

    安装Transformers库用来调取最新的深度学习模型(NLP) 安装时报错: ERROR: Command errored out with exit status 1:If you are us ...

  5. dotnet7 aot编译实战

    原文地址:https://www.cnblogs.com/kewei/p/16722674.html 0 起因 这段日子看到dotnet7-rc1发布,我对NativeAot功能比较感兴趣,如果aot ...

  6. QTCreator使用MSVC编译开发配置问题、VS2015开发qt问题

    1. 安装vs2017后qtcreator的kits配置中才能自动找到对应msvc编译器 2. qt中creator提示[debug\apply.exe] Error 1,解决办法:大部分是因为cre ...

  7. ffmpeg添加到环境变量_Windows + MSVC环境编译ffmpeg

    实测成功环境: WIN7 + VS2013 + FFmpeg4.3 和 WIN10 + VS2019 + FFmpeg4.3(N-98819-ge2589ac) 源码下载 FFmpeg源码 依赖工具 ...

  8. windows autoconf、automake编译 fdk-aac2.0.2(msvc)

    官方文档automake 一.背景 简单说,就是,1991年cmake的作者为了避免写20多个不同系统的不同cmake,创建了兼容各种系统的autoconf.automake,这两个货能直接把c.c+ ...

  9. MSVC 配置环境变量

    当我们在命令行使用msvc时,需要配置好相应环境变量,包括: 将cl.exe,link.exe-所在目录加入到path中 将头文件(标准库头文件或windows系统头文件)加入到INCLUDE环境变量 ...

最新文章

  1. linux 使用trick记录之20203010
  2. leetcode-44. Wildcard Matching
  3. CAN笔记(3) 错误状态
  4. Telnet和FTP
  5. 简述python_简述Python语言经验总结
  6. Python之 if-elif-else
  7. EasyUI DataGrid undefined处理
  8. DefaultKeyedVector和KeyedVector用法
  9. c语言各种头文件函数解释,c语言头文件及其函数
  10. PacketTracer简单使用】
  11. Janus: P2P打洞失败
  12. mac卸载软件怎么卸载干净?详细方法教程分享
  13. python练手项目
  14. 计算语言学之语法理论
  15. 如何利用实验室信息管理系统LIMS轻松通过CNAS评审?
  16. Babylonjs入门02——VsCode+vue+babylonjs开发第一个babylon项目程序
  17. php微信退款流程总结
  18. 3分钟学会这些面试小技巧
  19. vue 循环出来的三个标签加不同的颜色
  20. process lasso key注册版

热门文章

  1. 木马GOP——盗QQ密码
  2. 奥巴马演讲 网易无广告版
  3. 超级ping(多线程版)
  4. 十二个“一”的角色形象设计
  5. 计算机专业html5的毕业论文范文,计算机专业毕业论文格式范文参考
  6. linux程序设计中文第4百度云,Linux程序设计中文第4版-有书签.pdf
  7. C语言 逻辑与、逻辑或
  8. Magic Data 上榜 2022未来银行科技服务商100强
  9. AUTOSAR基础篇之Event(上)
  10. PVRTC compression