なんだチミは!!!
ある日気が向いたので久々に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