构建铬时编译错误

时间:2012-11-10 18:57:12

标签: visual-studio-2010 webkit cygwin chromium

我正在尝试使用VS2010在Windows 7 64位上构建铬。 我在构建webkit时遇到错误。这是错误

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 rebasing有关。 他们已经mentionded使用以下commad变基cygwin的

  

ash.exe rebaseall

但是我无法在third_party / cygwin文件夹中的cygwin导演中找到ash或rebase。

有关此错误的任何想法?

1 个答案:

答案 0 :(得分:0)

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

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

否则,如果您只想安装ash.exe,请运行包dash的安装搜索,包括此包,然后继续安装。