2012-11-10 51 views
0

我正在尝试使用VS2010在Windows 7 64位上创建铬。 我在建设webkit.Here得到错误是错误构建铬时编译时出错

1>------ Build started: Project: generate_supplemental_dependency, Configuration: Debug Win32 ------ 
1>Build started 11/11/2012 12:22:17 AM. 
1>InitializeBuildStatus: 
1> Touching "../../../../..\build\Debug\obj\generate_supplemental_dependency\generate_supplemental_dependency.unsuccessfulbuild". 
1>CustomBuild: 
1> Resolving [Supplemental=XXX] dependencies in all IDL files 
1>  6 [main] perl 5908 child_copy: linked dll data write copy failed, 0xD2A000..0xD49C48, done 0, windows pid 5972, Win32 error 487 
1> Can't call method "fileName" without a package or object reference at ../bindings/scripts/IDLParser.pm line 113. 
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 255. 
1> 
1>Build FAILED. 
1> 
1>Time Elapsed 00:00:09.56 
2>------ Build started: Project: webcore_bindings_sources, Configuration: Debug Win32 ------ 
2>Build started 11/11/2012 12:22:27 AM. 
2>InitializeBuildStatus: 
2> Touching "../../../../..\build\Debug\obj\webcore_bindings_sources\webcore_bindings_sources.unsuccessfulbuild". 
2>CustomBuild: 
2> HTMLEntityTable 
2> Running call "C:\chrome\src\third_party\WebKit\Source\WebCore\WebCore.gyp\..\..\..\..\..\third_party\cygwin\setup_env.bat" 
2> make: *** No rule to make target `/cygdrive/c/chrome/src/build/Debug/\obj\global_intermediate\supplemental_dependency.tmp', needed by `/cygdrive/c/chrome/src/build/Debug/\obj\global_intermediate\webcore\bindings\V8SpeechRecognitionEvent.cpp'. Stop. 
2> make: *** No rule to make target `/cygdrive/c/chrome/src/build/Debug/\obj\global_intermediate\supplemental_dependency.tmp', needed by `/cygdrive/c/chrome/src/build/Debug/\obj\global_intermediate\webcore\bindings\V8SpeechRecognitionEvent.cpp'. Stop. 
2> HTMLNames, and also WebKitFontFamilyNames, and also SVGNames, and also MathMLNames, and also XLinkNames, and also XMLNSNames, and also XMLNames 
2> Failed to read names from file: C:/chrome/src/third_party/WebKit/Source/WebCore/html/HTMLTagNames.in at C:\chrome\src\third_party\WebKit\Source\WebCore\dom\make_names.pl line 290. 
2> Traceback (most recent call last): 
2> File "scripts/action_makenames.py", line 185, in <module> 
2> File "scripts/action_makenames.py", line 167, in main 
2> AssertionError 
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 1. 
2> 
2>Build FAILED. 

我搜索这个错误了很多网络和大多数解决方案都涉及到cygwin的垫底。 他们mentionded使用以下commad变基cygwin的

ash.exe rebaseall

但我无法找到灰或重订所有cygwin的导演THIRD_PARTY/cygwin的文件夹中。

有关此错误的任何想法?

回答

0

此错误表明您的cygwin安装不包含(d)ash包。安装cygwin以及需要chrome的所有依赖项的最佳方法是运行cygwin-downloader.py

这将安装所有必需的依赖项,包括ash

或者,如果您只想安装ash.exe,请运行安装程序搜索软件包dash,然后执行安装程序。

+0

我无法在webkit/tools文件夹中找到cygwin-downloader.py。任何想法在铬源中找到它的位置? – anand

+0

也我没有cygwin设置和cygwin目录下载与铬源 – anand