Hi, I am trying to build chromium port on Windows (server2008 R2) using VS2005 and VS 2008 (similar results), and faced the following problems. There is also a description of steps I did at the end of the message.
*Problem1*. When opening a generated solution there are warnings like below for ffmpeg, generate_files, libjpeg, webcore_bindings_sources, yasm, yuv_convert_simd_x86 (other projects seems fine): *The following error has occurred during XML parsing:* *File: C:\cygwin\home\user1\WebKit\Source\WebKit\chromium\third_party\ffmpeg\ffmpeg.vcproj Line: 1 Column: 335 Error Message: Custom build rules file 'c:\cygwin\home\user1\WebKit\Source\WebKit\chromium\third_party\ffmpeg\ffmpeg.rules' was not found or failed to load. The file 'C:\cygwin\home\user1\WebKit\Source\WebKit\chromium\third_party\ffmpeg\ffmpeg.vcproj' has failed to load.* After several such pop ups, it tells: --------------------------- Microsoft Visual Studio --------------------------- One or more projects in the solution could not be loaded for the following reason(s): The application for the project is not installed. These projects will be labeled as unavailable in Solution Explorer. Expand the project node to show the reason the project could not be loaded. --------------------------- OK Help --------------------------- *Problem2*. When building a webKit solution from VS2008 or 2005 a lot of errors about missing .cpp and .h appear, for example 2>c1xx : fatal error C1083: Cannot open source file: '..\..\WebKit\chromium\build\Debug\obj\global_intermediate\webkit\SVGElementFactory.cpp': No such file or directory 2>c1xx : fatal error C1083: Cannot open source file: '..\..\WebKit\chromium\build\Debug\obj\global_intermediate\webkit\bindings\V8DerivedSources18.cpp': No such file or directory 2>c1xx : fatal error C1083: Cannot open source file: '..\..\WebKit\chromium\build\Debug\obj\global_intermediate\webkit\bindings\V8DerivedSources02.cpp': No such file or directory 3>c:\cygwin\home\user1\webkit\source\webcore\rendering\style\RenderStyle.h(32) : fatal error C1083: Cannot open include file: *'CSSPropertyNames.h'*: No such file or directory 2>c1xx : fatal error C1083: Cannot open source file: '..\..\WebKit\chromium\build\Debug\obj\global_intermediate\webkit\CSSPropertyNames.cpp': No such file or directory 2>c1xx : fatal error C1083: Cannot open source file: '..\..\WebKit\chromium\build\Debug\obj\global_intermediate\webkit\XLinkNames.cpp': No such file or directory 2>c1xx : fatal error C1083: Cannot open source file: '..\..\WebKit\chromium\build\Debug\obj\global_intermediate\webkit\XMLNames.cpp': No such file or directory 2>c1xx : fatal error C1083: Cannot open source file: '..\..\WebKit\chromium\build\Debug\obj\global_intermediate\webkit\HTMLElementFactory.cpp': No such file or directory 7>c:\cygwin\home\user1\webkit\source\webcore\html\parser\HTMLElementStack.h(31) : fatal error C1083: Cannot open include file: 'HTMLNames.h': No such file or directory .... I assume they should be generated by something but not sure how to set it up properly. *Steps done*: 1. I installed all pre-requisites as listed on http://trac.webkit.org/wiki/Chromium / http://trac.webkit.org/wiki/BuildBot#Non-cygwinWinRequirements which went fine. 2. synced chromium with perl ./Tools/Scripts/update-webkit-chromium --force (from cygwin console, otherwise it does not find some tools). On this stage the sync script hanged several times, I restarted it until it processed 100%. After files synced, it started to generate project files slowly, printing a lot of warnings like "Warning: Missing input file gfx\color_utils.h". In fact, I tried to resync many times already (in combinations with set GYP_MSVS_VERSION=2005 and without) thinking that the build problem may be caused by incomplete sync. 3. Installed directX SDK (added paths to include and lib to VS) and Windows SDK 7.1 and registered it with VS. This helped to resolve some build errors but not all. 4. Open WebKit solution in VS2005 or 2008 (depending on what was GYP_MSVS_VERSION), and at this step there are errors listed in problem1. 5. Building a solution from VS results in errors listed in problem2. Any help is greatly appreciated.
_______________________________________________ webkit-help mailing list webkit-help@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-help