the msvc targets depend on the msvc linker but `link.exe` was not found
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相关推荐
- Rust在windows下安装以后cargo build Error: linker `link.exe` not found
问题示例: D:\rust\runoob-greeting\greeting>cargo build error: linker `link.exe` not found|= note: 系统找 ...
- error: linker `link.exe` not found
Rust在windows下第一课,编译报错: cargo buildCompiling rsj-kv v0.1.0 (D:\workspace\git\rsj-kv) error: linker `l ...
- [Rust]cargo run时error: linker `link.exe` not found
问题 cargo run时error: linker link.exe not found 解决办法 在 Linux 或 macOS 上安装 rustup 如果你使用的是 Linux 或 macOS, ...
- Transformers库安装报错
安装Transformers库用来调取最新的深度学习模型(NLP) 安装时报错: ERROR: Command errored out with exit status 1:If you are us ...
- dotnet7 aot编译实战
原文地址:https://www.cnblogs.com/kewei/p/16722674.html 0 起因 这段日子看到dotnet7-rc1发布,我对NativeAot功能比较感兴趣,如果aot ...
- QTCreator使用MSVC编译开发配置问题、VS2015开发qt问题
1. 安装vs2017后qtcreator的kits配置中才能自动找到对应msvc编译器 2. qt中creator提示[debug\apply.exe] Error 1,解决办法:大部分是因为cre ...
- ffmpeg添加到环境变量_Windows + MSVC环境编译ffmpeg
实测成功环境: WIN7 + VS2013 + FFmpeg4.3 和 WIN10 + VS2019 + FFmpeg4.3(N-98819-ge2589ac) 源码下载 FFmpeg源码 依赖工具 ...
- windows autoconf、automake编译 fdk-aac2.0.2(msvc)
官方文档automake 一.背景 简单说,就是,1991年cmake的作者为了避免写20多个不同系统的不同cmake,创建了兼容各种系统的autoconf.automake,这两个货能直接把c.c+ ...
- MSVC 配置环境变量
当我们在命令行使用msvc时,需要配置好相应环境变量,包括: 将cl.exe,link.exe-所在目录加入到path中 将头文件(标准库头文件或windows系统头文件)加入到INCLUDE环境变量 ...
最新文章
- linux 使用trick记录之20203010
- leetcode-44. Wildcard Matching
- CAN笔记(3) 错误状态
- Telnet和FTP
- 简述python_简述Python语言经验总结
- Python之 if-elif-else
- EasyUI DataGrid undefined处理
- DefaultKeyedVector和KeyedVector用法
- c语言各种头文件函数解释,c语言头文件及其函数
- PacketTracer简单使用】
- Janus: P2P打洞失败
- mac卸载软件怎么卸载干净?详细方法教程分享
- python练手项目
- 计算语言学之语法理论
- 如何利用实验室信息管理系统LIMS轻松通过CNAS评审?
- Babylonjs入门02——VsCode+vue+babylonjs开发第一个babylon项目程序
- php微信退款流程总结
- 3分钟学会这些面试小技巧
- vue 循环出来的三个标签加不同的颜色
- process lasso key注册版