Where do I find nmake for Windows 7 x64

29

6

I'm trying to compile a Perl source and I can't seem to find a version of nmake that works with Windows 7 64 bit. I've searched all over Microsoft's website and my Googlefu seems to be failing me. Can I use a different compiler- if so suggestions/resources? I'm a native Linux user so pardon my ignorance

manyxcxi

Posted 2010-05-29T05:32:07.713

Reputation: 448

Answers

23

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 runs perfectly fine on Windows 7.

heavyd

Posted 2010-05-29T05:32:07.713

Reputation: 54 755

1Isn't there a standalone nmake to download instead of installing the whole VC Express? – Pacerier – 2016-08-03T20:30:58.117

1

No, there is not a standalone download. NMake is part of Microsoft's build toolchain. Visual C++ Express (or Visual Studio Community) is just an easy way to get those tools. As others have mentioned you can also get it from the Windows SDK.

– heavyd – 2016-08-03T23:17:23.140

1The link is brokwn – lalo – 2019-04-19T22:15:00.437

22

To get the 64 bit version of nmake (for Windows 7) you can also install the Windows SDK. 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.

Michael Gower

Posted 2010-05-29T05:32:07.713

Reputation: 229

1This answer is a few years old, but I just installed the latest Windows SDK and do not have that directory. The closest I have is: C:\Program Files (x86)\Microsoft Visual Studio 8\VC which contains vcpackages which contains a few dlls. – Blink – 2016-08-02T13:15:40.677

Maybe it comes with Visual Studio, not with Windows SDK as I find indeed nmkae in C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin(14.0 stands for VS 2015) – Liviu – 2017-04-05T13:56:04.690

By contrary, there is no nmakein the SDK folders: C:\Program Files (x86)\Windows Kits\10 – Liviu – 2017-04-05T13:59:05.150

5

A version of nmake which is compatible with Windows 7 also comes with xampp: http://www.apachefriends.org/en/xampp-windows.html Or you can try here: http://johnbokma.com/perl/make-for-windows.html

bcmoney

Posted 2010-05-29T05:32:07.713

Reputation: 151

The johnbokma link does not work in 2019. More precisely its link to a MS KB goes to a "page not found" in the MS site – franksands – 2019-01-28T13:30:44.823

Queue up "Queen - Who wants to live forever", I have excavated a working Wayback Machine link for the Microsoft Knowledge Base article in question (it was for Windows95): https://web.archive.org/web/20120406195351/http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3BQ132084

I think that JohnBokma link was itself the main help for any issues I had around undesrtanding nmake for Windows... hopefully it helps though.

– bcmoney – 2019-01-30T11:18:21.113

4

The x64 version of nmake.exe is located in the VC\bin\amd64 subdirectory. The 32-bit version of nmake.exe is located in VC\bin.

If you open up the Visual Studio x64 Command Prompt

VS2013 x64 Native Tools Command Prompt

the paths should be set up to find the x64 versions of tools. You can also type "where nmake.exe" to find the version you are looking for.

Spl2nky

Posted 2010-05-29T05:32:07.713

Reputation: 141

1upvoted - in 'Visual Studio Community 2015': \Microsoft Visual Studio 14.0\VC\bin\amd64\nmake.exe for x64 – bshea – 2017-01-05T01:28:35.183

1

Nmake doesn't come natively in Windows 10, but you could include it without installing the complete Visual Studio by installing Microsoft Visual C++ Build Tools.

when complete, navigate to this folder to find Nmake binaries C:\Program Files (x86)\Microsoft Visual Studio x.0\VC\bin

Finally, add it to windows path in control panel.

osazemeu

Posted 2010-05-29T05:32:07.713

Reputation: 11

link to install microsoft tools, https://technet.microsoft.com/en-us/dd9y37ha(v=vs.99)

– DarckBlezzer – 2019-09-26T15:14:24.993

0

To have native tools as nmake 64 bit on Visual Studio Express or 2013 Visual Build 2013 and for Visual Studio 64 bit 2008 cross tools command promt as well.

Download 2013 Visual Studio Ultimate update 5 DVD or Web Installer: https://www.visualstudio.com/vs/older-downloads/

Install only C++ Foundation edition from this installer with custom installing.

Also remember to use withing visual command; vcvars64.bat in 12/VC/BIN/amd64 to inintialize the PATH= function, if you use, to see if you have it, try to use in Visual 64 bit tools command this command;

where nmake.exe

If this command does not find nmake.exe and you still have it in amd64 folder. Run this command; in folder Microsoft Visual Studio 12.0 for Micros~1.0. Depenidng on if VC12 was installed first, then Micros~1.0 can be 2.0.

C:\progra~2\Micros~1.0\VC\vcvarsall amd64

Having a hard use, make a .bat file for each time loading in windows\ for own fast start. You have to use cd.. , to run a .bat not in system32.

Dealazer

Posted 2010-05-29T05:32:07.713

Reputation: 17