1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Windows】nmakeのパスを通す

Posted at

nmake単体で調べても、なかなか情報が出てこなかったので、ここにメモしておく。

環境

  • Windows 11
  • Visual Studio 2022

問題

とあるSDKとサンプルプログラムをcmakeでビルドしようとしたところ、nmakeが見つからないと怒られた。

解決方法

上のリンクから、ビルドツールのインストーラをダウンロードして起動してインストールします。

次のパスを、手動で通します。(バージョンは各自置き換えてください)

C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\xx.xx.xxxx\bin\Hostx64\x64

おわりに

Windowsが大嫌いなのですが、環境構築はCopilotのおかげで少し楽になりました。
しかし、やっぱりUNIX系OSと比べると環境構築のコストは雲泥の差ですね。

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?