参考:https://blog.csdn.net/China_xiaoCuan/article/details/133272594
安装了vs2022
环境变量配置如下
系统变量的path
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\Hostx64\x64 C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\Hostx64\x86 C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools
然后
用户变量里面
LIB C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\lib\x64
INCLUDE C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\include
3. 验证
配置好环境变量后按Windows+R,输入cmd进入命令行,分别输入“cl”,“ml”,“link”进行测试。
标签:Files,nmake,批处理,外部命令,Community,Visual,Program,Studio,Microsoft From: https://www.cnblogs.com/Galesaur-wcy/p/18147859