(16条消息) error: linker \`link.exe\` not found\_寂寞的博客-CSDN博客
硬币 louis
会员特权
会员特权
默认收藏夹
31其他 EntityFramework 6.0
连接 Mysql 数据库
其他 unityios 开发 —Scorll View 控件
其他 unityios 开发 — 触摸屏手势控制镜头旋转与缩放
其他 unityios 开发 —NGUI 类似 QQ 菜单实现
其他 unity 深入研究 — 之异步加载游戏场景与异步加载游戏资源进度条
error: linker link.exe
not found

境悟初 2021-12-18 16:39:06 
78 

收藏
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/jimo_lonely/article/details/122013975
版权

rust 专栏收录该内容
1 篇文章 0 订阅
订阅专栏
Rust 在 windows 下第一课,编译报错:
cargo build
Compiling rsj-kv v0.1.0 (D:\workspace\git\rsj-kv)
error: linker `link.exe` not found
|
= note: 系统找不到指定的文件。 (os error 2)
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 or VS 2019 was installed with the Visual C++ option
error: could not compile `rsj-kv` 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
完整运行过程:
PS D:\workspace\git\rsj-kv\src> rustup toolchain install stable-x86_64-pc-windows-gnu
info: syncing channel updates for 'stable-x86_64-pc-windows-gnu'
info: latest update on 2021-12-02, rust version 1.57.0 (f1edd0429 2021-11-29)
info: downloading component 'cargo'
7.0 MiB / 7.0 MiB (100 %) 1.6 MiB/s in 4s ETA: 0s
info: downloading component 'clippy'
3.4 MiB / 3.4 MiB (100 %) 1.6 MiB/s in 2s ETA: 0s
info: downloading component 'rust-docs'
17.8 MiB / 17.8 MiB (100 %) 1.2 MiB/s in 13s ETA: 0s
info: downloading component 'rust-mingw'
4.2 MiB / 4.2 MiB (100 %) 1.7 MiB/s in 2s ETA: 0s
info: downloading component 'rust-std'
34.0 MiB / 34.0 MiB (100 %) 1.6 MiB/s in 21s ETA: 0s
info: downloading component 'rustc'
141.0 MiB / 141.0 MiB (100 %) 1.3 MiB/s in 1m 36s ETA: 0s
info: downloading component 'rustfmt'
6.2 MiB / 6.2 MiB (100 %) 1.6 MiB/s in 4s ETA: 0s
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
17.8 MiB / 17.8 MiB (100 %) 1.9 MiB/s in 6s ETA: 0s
info: installing component 'rust-mingw'
4.2 MiB / 4.2 MiB (100 %) 3.9 MiB/s in 1s ETA: 0s
info: installing component 'rust-std'
34.0 MiB / 34.0 MiB (100 %) 14.1 MiB/s in 2s ETA: 0s
info: installing component 'rustc'
141.0 MiB / 141.0 MiB (100 %) 13.5 MiB/s in 10s ETA: 0s
info: installing component 'rustfmt'
stable-x86_64-pc-windows-gnu installed - rustc 1.57.0 (f1edd0429 2021-11-29)
info: checking for self-updates
PS D:\workspace\git\rsj-kv\src> rustup default stable-x86_64-pc-windows-gnu
info: using existing install for 'stable-x86_64-pc-windows-gnu'
info: default toolchain set to 'stable-x86_64-pc-windows-gnu'
stable-x86_64-pc-windows-gnu unchanged - rustc 1.57.0 (f1edd0429 2021-11-29)
PS D:\workspace\git\rsj-kv\src> cargo build
Compiling rsj-kv v0.1.0 (D:\workspaced\git\rsj-kv)
Finished dev [unoptimized + debuginfo] target(s) in 1.49s
PS D:\workspace\git\rsj-kv\src> cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.01s
Running `D:\workspace\git\rsj-kv\target\debug\rsj-kv.exe`
Hello, world!
关注 关注
专栏目录
[
ld: symbol(s) not found fo_r architecture x86_64 clang: error_: linker command failed with _ex_it code 1
](http://download.csdn.net/download/weixin_38531630/14032279)
01-06
[
今天编写一个简单的代码,报错了: template class matrix final { publi_c: matrix(uint32_t size): SIZE(size) { _data = _st_atic_ca_st(malloc(SIZE sizeof(T))); fo_r (uint32_t i = 0; i <SIZE; ++i) { _data[i] = new T[SIZE]; } } in_lin_e con_st uint32t size() con_st {return SIZE;} T* oper_ator[](uint32
](http://download.csdn.net/download/weixin_38531630/14032279)
[
Rust编译报错linker _link_._exe_
not found
](https://blog.csdn.net/xiaoxiaowaioye/article/details/115907880)
04-20 
470
[
rustc .\hello.rs error: linker _link_._exe_
not found | = not_e: 系统找不到指定的文件。 (os _error 2) not_e: the msvc targets depend on the msvc _linker but _link_._exe_
was not found not_e:_ please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was in_st_alled with the.
](https://blog.csdn.net/xiaoxiaowaioye/article/details/115907880)


插入表情
添加代码片
- HTML/XML
- objective-c
- Ruby
- PHP
- C
- C++
- JavaScript
- Python
- Java
- CSS
- SQL
- 其它
还能输入1000个字符
[
…run 时error: linker _link_._exe_
not _found__WangIcte…
](https://blog.csdn.net/yahohi/article/details/121062006)
1-1
[
cargo run 时error: linker__link.exe__not found 解决办法 在Lin_ux 或 macOS 上安装 _rust_up 如果你使用的是 _Lin_ux 或 macOS, 打开终端并输入下面命令: $ curl —proto ‘=https’ —tlsv1.2 https:_//sh._rust_up.rs -sSf | sh …
](https://blog.csdn.net/yahohi/article/details/121062006)
[
window 上运行rust报错 linker _link_._exe_
not found_西…
](https://blog.csdn.net/inthat/article/details/118801513)
12-31
[
window 上运行rust报错 linker__link.exe__not found 因为在 Windows 平台,rust编译程序需要 vs c++ 编译工具。错误一般发生在使用rust的 _rust_c main.rs 时, 原因是在 windows 上没有安装 visual _st_udio 或 C++ build tools …
](https://blog.csdn.net/inthat/article/details/118801513)
[
window 上运行rust报错 linker _link_._exe_
not found
](https://docker.blog.csdn.net/article/details/118801513)
07-16 
517
[
window 上运行rust报错 linker link.exe not found 因为在 Windows 平台,rust编译程序需要 vs c++ 编译工具。错误一般发生在使用rust的 rust_c main.rs 时,原因是在 windows 上没有安装 visual _st_udio 或 C++ build tools 本人下载 Visual _St_udio 2017,安装了 c++ 工作负载,亲测通过! 官方下载地址: https:_//visual_st_udio.microsoft.com/zh-hans/downloads/
](https://docker.blog.csdn.net/article/details/118801513)
[
[Rust]cargo run 时error: linker _link_._exe_
not found
最新发布
](https://icter.blog.csdn.net/article/details/121062006)
10-31 
356
[
问题 cargo run 时error: linker link.exe not found 解决办法 在 Lin_ux 或 macOS 上安装 _rust_up 如果你使用的是 _Lin_ux 或 macOS,打开终端并输入下面命令: $ curl —proto ‘=https’ —tlsv1.2 https://sh._rust_up.rs -sSf | sh 这个命令将下载一个脚本并开始安装 _rust_up 工具,此工具将安装 _Rust 的最新稳定版本。可能会提示你输入密码。如果安装成功,将出现下面这行: Ru
](https://icter.blog.csdn.net/article/details/121062006)
[
Rust 问题汇总Angel_L__rust 问题
](https://blog.csdn.net/AngelL/article/details/108620355)
1-8
[
error__: linker _link_._exe_
not found | = not_e: 系统找不到指定的文件。 (os _error 2) not_e: the msvc targets depend on the msvc _linker but _link_._exe_
was not found not_e:_ please ensure that VS 2013, VS 2015, VS…
](https://blog.csdn.net/AngelL/article/details/108620355)
[
Cli_on 初次开发_Rust运行报错linker cc
not found
](https://blog.csdn.net/qq_28687433/article/details/114451433)
03-06 
156
[
初次安装 cli_on 后直接下载_Rust插件,后创建新项目运行报错linker cc
not found 我们直接终端下载 gcc sudo apt in_st_all gcc 重新运行代码,即可完成!
](https://blog.csdn.net/qq_28687433/article/details/114451433)
[
[Rust] Error__: linker _link_._exe_
not found
热门推荐
](https://blog.csdn.net/qq_32524177/article/details/98615641)
08-06 
1 万 +
[
错误一般发生在使用rust的 _rust_c main.rs 时,原因是在 windows 上没有安装 visual _st_udio 或 C++ build tools 安装 VISUAL _ST_UDIO 2017 或者 安装 C++ build tools Microsoft Visual C++ Build Tools 2015 二选一 …
](https://blog.csdn.net/qq_32524177/article/details/98615641)
[
Rust在 windows 下安装以后 cargo build Error__: linker _link_._exe_
not found
](https://blog.csdn.net/weixin_44313745/article/details/114538532)
03-08 
931
[
问题示例: D:_rust_runoob-greeting\greeting>cargo build error: linker _link_._exe_
not found | = not_e: 系统找不到指定的文件。 (os _error 2) not_e: the msvc targets depend on the msvc _linker but _link_._exe_
was not found not_e:_ please ensure that VS 2013, VS 2015, VS .
](https://blog.csdn.net/weixin_44313745/article/details/114538532)
[
Windows 下Rust build 显示error__: linker _link_._exe_
not found问题解决办法
](https://blog.csdn.net/coolsoloist/article/details/106425656)
05-29 
9376
[
在 Window 操作系统中安装Rust,在命令行下运行 cargo build 结果提示 E:_rust_rust-demo>cargo build Compilin_g _rust-demo v0.1.0 (E:_rust_rust-demo) error__: linker _link_._exe_
not found | = not_e: 系统找不到指定的文件。 (os _error 2) not_e: the msvc targets depend on the msvc _linker
](https://blog.csdn.net/coolsoloist/article/details/106425656)
[
error__: linker _link_._exe_
not found | = not_e:_ 系统找不到指定的文件。
](https://blog.csdn.net/woshisunyizhen/article/details/116209683)
04-27 
1298
[
问题 1:出现报错 “error__: linker link.exe not found | = not_e: 系统找不到指定的文件。 (os _error 2)” PS C:_Users\sun\Desktop_ru_noob-greeting> cd .\greeting PS C:__Users\sun\Desktop_ru_noob-greeting\greeting> cargo build Compi_lin_g greeting v0.1.0 (C:__Us__er_s\sun\Desktop_ru_noob-
](https://blog.csdn.net/woshisunyizhen/article/details/116209683)
[
Rust安装后执行第一个程序遇到的问题
](https://blog.csdn.net/weixin_39274440/article/details/106129275)
05-14 
2928
[
当按照 https://kaiser_y.github.io/trpl-zh-cn/ch01-02-hello-world.html 学习教程编写第一个 Helloworld。执行_rust_c 命令后汇报如下错误 G:_rustspace>rust_c main.rs _error: linker _link_._exe_
not found | = not_e: 系统找不到指定的文件。 (os _error 2) not_e: the msvc targets depend on the msvc _link..
](https://blog.csdn.net/weixin_39274440/article/details/106129275)
[
[Rust] error__: linker _link_._exe_
not found
](https://blog.csdn.net/Ming_360/article/details/118061106)
06-20 
201
[
最近电脑重置后,下载rust发现无法运行一直报错误:error__: linker link.exe not found,有文章给出下载 Visual _St_udio,但是没有展开说明需要安装什么,最终多次尝试问题才得以解决。 第一步 下载 Visual _St_udio 第二步 安装完 Visual _St_udio 后,打开 Visual _St_udio in_st_all -> 使用 C++ 的桌面开发,选择如下图勾选项进行安装即可。 …
](https://blog.csdn.net/Ming_360/article/details/118061106)
[
Python+pycharm 安装 d_li_b 库
](https://blog.csdn.net/weixin_45583303/article/details/102746321)
10-25 
8662
[
下载 dilb 库 写在前面: 尽量要用对应 Python 版本的库 已经安装好 Python3.6.1 和 pycharm dli_b 版本下载官网 文件名:d_li_b-19.6.1-cp36-cp36m-win_amd64.whl 安装 d_li_b 库 下载好之后我们将这个文件拷贝到 Python 目录下的 Scripts 文件加里 例如:E:_\python\Scripts 接下来使用 Python 自带的 pip 进行安装 1…
](https://blog.csdn.net/weixin_45583303/article/details/102746321)
[
error__: link_ing with `_link.exe` failed: ex_it code:_ 1181
](https://blog.csdn.net/qianzhitu/article/details/119726997)
08-16 
531
[
buid 时出现这问题 解决方案一:安装 Build Tools fo_r Visual _St_udio 2019 未试过 解决方案二: https://_st_ackov_er_flow.com/que_st_ions/55603111/unable-to-compile-_rust-hello-world-on-windows-linker-link-exe-not-found/55603112#55603112
](https://blog.csdn.net/qianzhitu/article/details/119726997)
[
the msvc targets depend on the msvc linker but _link_._exe_
was not found
](https://blog.csdn.net/ch999999999999999999/article/details/109388553)
10-30 
1959
[
the msvc targets depend on the msvc linker but link.exe was not found 错误显示: C:/Us__er_s/Admini_st_rator/.cargo/bin/cargo._exe ru_n —color=always —package hello-_rust —bin hello-rust Compilin_g hello-_rust v0.1.0 (F:\wh\wh-rust\hello-rust) error__: linker `link.e
](https://blog.csdn.net/ch999999999999999999/article/details/109388553)
[
linker cc
not found
](https://blog.csdn.net/Betterc5/article/details/101197571)
09-23 
4564
[
运行_rust_c hello_world.rs 时出错。 原因: 我的 gcc 是安装的指定版本 gcc-4.8,安装指定版本 gcc 可参考我的另一篇博文,这里找不到 cc 的原因是在移除原来软链的时候,cc 的软链也移除了。重新建立软链即可。 sudo ln -s gcc cc 还有一种情况时没有安装 gcc sudo apt in_st_all gcc …
](https://blog.csdn.net/Betterc5/article/details/101197571)
[
真机运行正常、模拟器运行报错 ld: li_brary _not found fo_r -lXXXX clang: error_: linker command failed with _ex_it code 1
](https://blog.csdn.net/tiancaikuanglong/article/details/110542006)
12-03 
423
[
Xcode12 淘汰了 VALI_D_ARCHS, 但是有些 cocoapod 集成进来的第三方库还是有这个 key,Xcode12 模拟器已经用 arm 架构来编译项目, 而_link链接的还是 x86 架构 找到 Build Settings-VA_LI_D_ARCHS 在里面添加 x86_64 即可解决问题,但很多小伙伴添加后还是会报错。 修改时切记切记!!!所有的项目工程 VA_LI_D_ARCHS 都要修改。 举例:截图项目中集成了 cocos creator 游戏部分的项目,因此要记得两个都要修改。 …
](https://blog.csdn.net/tiancaikuanglong/article/details/110542006)
[
ld: li_brary _not found fo_r -lAFNetworking clang: error_: linker command failed with _ex_it code 1 (_us_e -
](https://blog.csdn.net/u013352096/article/details/48142667)
08-31 
918
[
ld: li_brary _not found fo_r -lAFNetworking clang: error_: linker command failed with ex_it code 1 (_us_e -v to see invocation) 解决办法: // http://my.oschina.net/ios_li_ght_er/blog/382422
](https://blog.csdn.net/u013352096/article/details/48142667)
[
/us_r/bin/ld: warning: _li_bcudnn.so.7, needed by *gpu.so, _not found (try us_ing -rpath or -rpath-_link)
](https://yongqiang.blog.csdn.net/article/details/104602920)
03-01 
1669
[
/us_r/bin/ld: warning: _li_bcudnn.so.7, needed by …/_li_b/_li_bsun_er_gy_gpu.so, _not found (try us_ing -rpath or -rpath-_link) 1. /us_r/bin/ld: warning: _li_bcudnn.so.7, needed by /home/_st_rong/ec_li_pse-work/body_pose/_li_b/sun_er_gy/_li_b/_li_bsun_er_gy_gpu.so, _not found (try us
](https://yongqiang.blog.csdn.net/article/details/104602920)
©️2021 CSDN 皮肤主题: 技术黑板 设计师: CSDN 官方博客 返回首页
-
-
-
-

400-660-0108
-
-
工作时间 8:30-22:00
-
-
-
-
-
-
-
-
-
©1999-2022 北京创新乐知网络技术有限公司
-
-
-
-
境悟初 CSDN 认证博客专家 CSDN 认证企业博客
码龄 6 年 
暂无认证
[
142
原创
](https://blog.csdn.net/jimo_lonely)
[
1 万 +
周排名
](https://blog.csdn.net/rank/list/weekly)
[
4353
总排名
](https://blog.csdn.net/rank/list/total)
55 万 +
访问
等级
6335
积分
247
粉丝
552
获赞
258
评论
798
收藏








关注

热门文章
- C# List排序总结

58468 - ThinkPHP5 快速入门

53590 - 前后端分离之 VueJS 前端

38171 - 前后端分离之 Java 后端

32467 - 前后端分离之 Springboot 后端

23881
分类专栏

database 6 篇
时空数据 4 篇
rust 1 篇
linux 8 篇
工具 7 篇
Go 1 篇
分布式 1 篇
C++ 1 篇
大数据 12 篇
容器 2 篇
springboot 7 篇
clickhouse 1 篇
scala 5 篇
网络 2 篇
程序人生 2 篇
MQ 4 篇
spark
java 并发编程
数据结构与算法 21 篇
Java 41 篇
JavaWeb 9 篇
那些错误 7 篇
Android 48 篇
常识 8 篇
HTML 12 篇
JavaScript 11 篇
jQuery 7 篇
PHP 2 篇
SQL 4 篇
Python 9 篇
C# 2 篇
NativeScript 4 篇
Kalilinux 5 篇

最新评论
-
-
B 树详细图解与 Java 完整实现
m&u: 强者,介绍的一目了然
-
git 迁移项目中的某个目录到新项目
心随风 123: filter-branch 有效,我是为了合并到另一个项目,filter-branch 然后将另一个库作为远程分支,做了个 rebase,完美解决问题,感谢
您愿意向朋友推荐 “博客详情页” 吗?

强烈不推荐

不推荐

一般般

推荐

强烈推荐
提交
最新文章


分类专栏

database 6 篇
时空数据 4 篇
rust 1 篇
linux 8 篇
工具 7 篇
Go 1 篇
分布式 1 篇
C++ 1 篇
大数据 12 篇
容器 2 篇
springboot 7 篇
clickhouse 1 篇
scala 5 篇
网络 2 篇
程序人生 2 篇
MQ 4 篇
spark
java 并发编程
数据结构与算法 21 篇
Java 41 篇
JavaWeb 9 篇
那些错误 7 篇
Android 48 篇
常识 8 篇
HTML 12 篇
JavaScript 11 篇
jQuery 7 篇
PHP 2 篇
SQL 4 篇
Python 9 篇
C# 2 篇
NativeScript 4 篇
Kalilinux 5 篇
实付元

点击重新获取



扫码支付
钱包余额 0

抵扣说明:
- 余额是钱包充值的虚拟货币,按照 1:1 的比例进行支付金额的抵扣。
- 余额无法直接购买下载,可以购买 VIP、C 币套餐、付费专栏及课程。
确定取消
举报

选择你想要举报的内容(必选)
- 内容涉黄
- 政治相关
- 内容抄袭
- 涉嫌广告
- 内容侵权
- 侮辱谩骂
- 样式问题
- 其他
原文链接(必填)
请选择具体原因(必选)
- 包含不实信息
- 涉及个人隐私
请选择具体原因(必选)
- 侮辱谩骂
- 诽谤
请选择具体原因(必选)
- 搬家样式
- 博文样式
补充说明(选填)
取消
确定




新手
引导
客服 举报 
返回
顶部
举报

选择你想要举报的内容(必选)
- 内容涉黄
- 政治相关
- 内容抄袭
- 涉嫌广告
- 内容侵权
- 侮辱谩骂
- 样式问题
- 其他
- 样式问题
- 侮辱谩骂
- 涉嫌广告
- 内容抄袭
- 政治相关
- 内容涉黄
- 内容侵权
- 其他
请选择具体原因(必选)
- 涉及个人隐私
- 包含不实信息
请选择具体原因(必选)
- 诽谤
- 侮辱谩骂
请选择具体原因(必选)
- 搬家样式
- 博文样式
请选择具体原因(必选)
- 博文样式
- 搬家样式
请选择具体原因(必选)
- 诽谤
- 侮辱谩骂
原文链接(必填)
请选择具体原因(必选)
- 涉及个人隐私
- 包含不实信息
补充说明(选填)
取消
确定
https://blog.csdn.net/jimo_lonely/article/details/122013975