0

我正在尝试使用 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 rebase 有关。他们提到使用以下逗号来重新设置 cygwin

ash.exe rebaseall

但我无法在 third_party/cygwin 文件夹中的 cygwin director 中找到 ash 或 rebase all。

关于这个错误的任何想法?

4

1 回答 1

0

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

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

或者,如果您更喜欢仅安装 ash.exe,请运行安装程序搜索包dash包含此包并继续安装。

于 2012-11-10T21:27:59.017 回答