nmake: command not found when building OpenSSL

点点圈 提交于 2020-01-15 09:14:10

问题


I'm trying to follow the installation instruction for OpenSSL on Windows using this instruction on git bash.

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

but it failed to recognized nmake. The command resulted in nmake: command not found.

Has someone know about nmake? Or am I doing it wrong?


回答1:


$ perl Configure { VC-WIN32 | VC-WIN64A | VC-WIN64I | VC-CE }
$ nmake

but it failed to recognized nmake.

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.

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.




回答2:


nmake is a Microsoft build tool for C++. Download Visual C++ Express to get it. Unfortunately you can't get just nmake on its own, you have to download the entire toolchain.



来源:https://stackoverflow.com/questions/38777915/nmake-command-not-found-when-building-openssl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!