VS2012:'nmake'不被识别为内部或外部命令 [英] VS2012: 'nmake' is not recognized as an internal or external command

查看:1716
本文介绍了VS2012:'nmake'不被识别为内部或外部命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试过VS2012 Native Tools,Cross Tools and Developers命令提示符。
它不能识别'nmake'。

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

在VS2008上,无法找到如windows.h

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

我想为VS2012构建一个静态库curl:
http://quantcorner.wordpress.com/2012/04/08/using-libcurl-with-visual-c-2010/

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

推荐答案

找到以下目录,然后运行 vsvars32.bat

find the following dir, and run vsvars32.bat

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

在您的DOS窗口中,然后尝试运行 nmake

inside your DOS window, then try to run nmake

单击开始 - > 所有程序 - > Microsoft Visual Studio 11.0 - > Visual Studio工具 - > VS2012 x86 native tools命令

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

这篇关于VS2012:'nmake'不被识别为内部或外部命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆