When I type the nmake
command in the Command Prompt, I am getting this error:
'nmake' is not recognized as an internal or external command operable program or batch file.
Also, I couldn't find the nmake.exe
file in my system.
How to setup the nmake
command on Windows?
You can get nmake as well as the MSVC++ compiler by downloading Visual C++ Express. Visual C++ Express runs perfectly fine on Windows 7.
You can install toolset like “MSVC v142 - VS 2019 C++ x64/x86 build tools (v14. 24)” from VS installer, that include C compiler, then you can find nmake.exe under “C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.
NMAKE must run in a Developer Command Prompt window. A Developer Command Prompt window has the environment variables set for the tools, libraries, and include file paths required to build at the command line. For details on how to open a Developer Command Prompt window, see Use the MSVC toolset from the command line.
NMake is part of Microsoft's build tools for building C++ projects. You can get nmake as well as the MSVC++ compiler by downloading Visual C++ Express. Visual C++ Express which runs perfectly fine on Windows 7.
It will install nmake.exe to
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin
on Windows 7 without prompting for an alternate directory. As this question answered
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With