# error : linker `link.exe` not found
1
2
3
4
5
6
7
8
9
10
11
12
|
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: aborting due to previous error
[Done] exited with code=1 in 0.704 seconds
|
cs |
https://users.rust-lang.org/t/link-exe-not-found-despite-build-tools-already-installed/47080
#visual studio
https://my.visualstudio.com/Downloads?q=visual%20studio%202019&wt.mc_id=o~msft~vscom~older-downloads
-------------------------------------------ubuntu-------------------------------------------
우분투로 rust 설치
https://www.rust-lang.org/tools/install
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
https://rinthel.github.io/rust-lang-book-ko/ch01-02-hello-world.html
hello_world
$ rustc hello_world
후 error :
# 해결
sudo apt-get update
sudo apt install build-essential
# cargo error
https://github.com/rust-lang/cargo/issues/6757
해결 vscode close!! 또는 ubuntu 프로그램을 종료 후 cargo build 나 cargo run을 해주면 된다.
''o'' 카테고리의 다른 글
git reset, revert로 이전 커밋으로 돌리기 (0) | 2024.03.13 |
---|---|
[크롬] 크롬 개발자도구 붙여놓기 오류 (0) | 2024.02.06 |
[nestjs] + azure + swagger + mariadb (0) | 2021.11.05 |
[MailU] (0) | 2021.10.08 |
[Vue] tsc && vue-cli-service --build Error 오류 (0) | 2021.10.08 |