2012-11-10 52 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