尝试vcvarsall.bat后,Unicode-Map-0.112仍然存在nmake问题 [英] Still nmake problem with Unicode-Map-0.112 after trying vcvarsall.bat

查看:121
本文介绍了尝试vcvarsall.bat后,Unicode-Map-0.112仍然存在nmake问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

非常感谢ephemient建议尝试vcvarsall.bat.

Many thanks to ephemient for recommending to try vcvarsall.bat.

在DOS中成功运行了vcvarsall.bat,它是MS C ++ Express 2008的一部分

In DOS successfully ran vcvarsall.bat, which was part of MS C++ Express 2008

接下来,我继续尝试通过使用ppm来遵循PerlMonks的建议,即 http://www .perlmonks.org/?node_id = 434813

Next I continued to try to follow the PerlMonks advice by using ppm, i.e. http://www.perlmonks.org/?node_id=434813

因此,我试图再次制作真正的Unicode-Map-0.112.我又收到了一个问题:

So I tried to make, really nmake Unicode-Map-0.112 again. I received one more issue:

C:\ perl \ lib \ core \ win32.h(61):致命错误C1083:无法打开包含 文件:'windows.h':没有这样的文件或目录. NMAKE:致命错误U1077:'C:\ Program Files \ Microsoft Visual Studio 9.0 \ VC \ Bin \ Cl.exe:返回码"0x2" 停止

C:\perl\lib\core\win32.h (61) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory. NMAKE: fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin\Cl.exe: return code '0x2' Stop

我发现我确实有Windows.h文件: Windows.h位于C:\ Program Files \ Microsoft SDKs \ Windows \ v6.0A \ Include

I turns out that I do have the Windows.h file: Windows.h is located in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include

我猜我也只需要Windows.h到PATH.

I'm guessing I just also need to Windows.h to the PATH as well.

这听起来是正确的,还是我绊脚向前走另一条路线?

Does this sound correct or is there another route I should be traveling as I'm stumbling ahead?

再次感谢.

推荐答案

您需要从使用您所使用的SDK版本的变量初始化的环境中进行所有对nmake的调用. (在您的情况下为v6.0A).

You need to do all of your calls to nmake from an environment that is initialized with the variables for the SDK version you're using. (v6.0A in your case).

在开始菜单中,转到"Microsoft Windows SDK *"菜单文件夹,然后从那里启动CMD Shell.

In your start menu, go to the 'Microsoft Windows SDK *' menu folder, and start the CMD shell from there.

在该CMD Shell中,将cd移至您的代码目录,然后从此处运行nmake.

Inside that CMD shell, cd to your code directory and run nmake from there.

这篇关于尝试vcvarsall.bat后,Unicode-Map-0.112仍然存在nmake问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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