【问题标题】:nmake.exe is not found in the windows\system32 folder? how to setup nmake command in windows?在 windows\system32 文件夹中找不到 nmake.exe?如何在 Windows 中设置 nmake 命令?
【发布时间】:2016-06-01 03:56:42
【问题描述】:

当我在命令提示符中键入nmake 命令时,我收到此错误:

'nmake' 不是内部或外部命令可运行程序或批处理文件。

另外,我在我的系统中找不到nmake.exe 文件。

如何在 Windows 上设置nmake 命令?

【问题讨论】:

    标签: nmake


    【解决方案1】:

    NMake 是 Microsoft 用于构建 C++ 项目的构建工具的一部分。您可以通过下载Visual C++ Express 获得 nmake 以及 MSVC++ 编译器。 Visual C++ Express 在 Windows 7 上运行良好。 它将安装 nmake.exe 到 C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin 在 Windows 7 上,无需提示输入备用目录。正如这个question 回答的那样

    【讨论】:

    • 所以为了安装 Visual C++ Express 我的系统应该有 Visual Studio 或 Windows SDK。我说的对吗?
    • C++ Express 应该包含你对 nmake 所需的一切,因为据我了解,nmake 包含在 MS 构建工具(打包在 Visual Studio 中)中
    • 或者您似乎可以选择只安装 SDK,它也应该包含它
    • 我在 C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\ 路径中有 nmake.exe,但我无法在命令提示符下运行 nmake 命令
    • 您需要从与 VS 一起打包的命令 shell 中运行它。转到您的开始菜单 --> 所有程序 --> Microsoft Visual Studio [您的年份] --> Visual Studio 工具 --> 然后运行三个命令提示符中的任何一个。祝你好运!附言如果这回答了您的问题,请务必将其标记为正确,如果您还有问题,请告诉我
    猜你喜欢
    • 2013-01-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-02-23
    • 2015-09-06
    • 2014-10-04
    • 2012-08-23
    相关资源
    最近更新 更多