nmake:构建 OpenSSL 时找不到命令 [英] nmake: command not found when building OpenSSL
问题描述
我正在尝试使用 git bash 上的此说明按照 Windows 上的 OpenSSL 安装说明进行操作.
I'm trying to follow the installation instruction for OpenSSL on Windows using this instruction on git bash.
在 Windows 上(只选择一个目标进行配置):
On Windows (only pick one of the targets for configuration):
$ perl Configure { VC-WIN32 | VC-WIN64A | VC-WIN64I | VC-CE }
$ nmake
$ nmake test
$ nmake install
但它无法识别nmake.该命令导致 nmake: command not found
.
but it failed to recognized nmake. The command resulted in nmake: command not found
.
有人知道nmake吗?还是我做错了?
Has someone know about nmake? Or am I doing it wrong?
推荐答案
$ perl Configure { VC-WIN32 | VC-WIN64A | VC-WIN64I | VC-CE }
$ nmake
但它无法识别nmake.
but it failed to recognized nmake.
下载并安装 Visual C++ 构建工具.您不必下载 Visual Studio,也不必让自己受制于 噱头和即将到期的试验.Visual C++ 构建工具提供了从命令行工作所需的一切.
Download and install the Visual C++ build tools. You don't have to download Visual Studio, or subject yourself to the gimmicks and expiring trials. The Visual C++ build tools provide everything you need to work from the command line.
然后,打开开发人员提示,cd
进入 OpenSSL 目录并执行该过程.要打开开发人员提示:开始 → 所有程序 → Microsoft Visual Studio → Visual Studio 工具 → Visual Studio 命令提示.另请参阅 Visual Studio 的开发人员命令提示 在 MSDN 上.
Then, open a developer prompt, cd
into the OpenSSL directory and perform the procedure. To open a developer prompt: Start → All Programs → Microsoft Visual Studio → Visual Studio Tools → Visual Studio Command Prompt. Also see Developer Command Prompt for Visual Studio on MSDN.
这篇关于nmake:构建 OpenSSL 时找不到命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!