Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2012: 'nmake' is not recognized as an internal or external command

I tried VS2012 Native Tools, Cross Tools and Developers command prompt. And it does not recognize 'nmake'. It didn't work on VS2010 either.

On VS2008, it could not find depencies like windows.h

I want to build a static library curl for VS2012: http://quantcorner.wordpress.com/2012/04/08/using-libcurl-with-visual-c-2010/

like image 809
user88888 Avatar asked Sep 27 '13 01:09

user88888


2 Answers

for visual studio 2015 community edition add the following path to your system environment path

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin

in the above path there is the nmake command

like image 170
Dimitris Kougioumtzis Avatar answered Nov 16 '22 13:11

Dimitris Kougioumtzis


find the following dir, and run vsvars32.bat

   C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools

inside your DOS window, then try to run nmake

You can also click start -> All programs -> Microsoft Visual Studio 11.0 -> Visual studio tools -> VS2012 x86 native tools command .

like image 25
CS Pei Avatar answered Nov 16 '22 14:11

CS Pei