0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【Rust】`link.exe` was not foundで詰まったのでメモ

Last updated at Posted at 2023-02-06

なんだチミは!!!

ある日気が向いたので久々にRust版electron(?)であるTauriを動かそうとしたところ、

error: linker `link.exe` not found
  |
  = note: program not found

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

note: please ensure that Visual Studio 2017 or later, or Build Tools for Visual Studio were installed with the Visual C++ option.

note: VS Code is a different product, and is not sufficient.

というエラーが。

またこれか。。。と思ってエラー文を見てみると、`

note: please ensure that Visual Studio 2017 or later, or Build Tools for Visual Studio were installed with the Visual C++ option.

あー...

原因:VS2022のアンインストール

厳密にはVisualStudioのC++buildtoolがインストールされてなかったのですが、ストレージを開けるために脳死でソフトをアンインストールしたのが原因でした。

というかVSを使いたくないので普段は互換開発環境であるRiderを使っているのですが、それだとC++のビルドツールを使えない(多分)ので、VisualStudioを使わざるを得ないです。学校もC#はVS2022指定なので。

めんどくさい。

Rustのエラーが直し次第続きかきます。実家の回線がgmksなので全然進まないでふ。( ノД`)シクシク…

追記(2023/02/07)

翌日VS2022のビルドツールのインストールが完了してTauriも動いたのでそのうち続きます。

余談

過去にTauriで作ったやつです。たまにアプデしてます。

よろぴく。

公式Docs

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?