Search code examples
windowsopensslnmake

nmake: command not found when building OpenSSL


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?


Solution

  • $ 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.