[Webkit-unassigned] [Bug 193566] New: WebKit failed with lots of error C1083 when built by msvc on Windows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 17 23:26:45 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=193566

            Bug ID: 193566
           Summary: WebKit failed with lots of error C1083 when built by
                    msvc on Windows
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Windows 10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CMake
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: 1998zhangyi at gmail.com

WebKit failed with lots of "error C1083:  Cannot open include file: 'WebKitLegacy/WebKit.h': No such file or directory" and "error C1083:  Cannot open include file: 'ColorSpaceData.h'" when build by msvc on Windows, I use latest source 9d38cd6 on master branch. Could you help take a look at this?

Recently we added -DENABLE_WEBKIT_LEGACY="OFF" to the cmake build command, so the build failed. It used to be a successful build without this option.

Repro steps:
1. git clone https://github.com/WebKit/webkit d:\WebKit\src
2. open a VS 2017 x86 command prompt as admin and browse to D:\Webkit
3. extra WebKitSupportLibrary\win to D:\WebKit\src\WebKitLibraries\win
4. extra WebKitAuxiliaryLibrary\win to D:\WebKit\src\WebKitLibraries\win
5. set path=C:\gnuwin32\bin;%path%
6. cmake -G "Visual Studio 15 2017" -DCMAKE_SYSTEM_VERSION=10.0.17134.0 -DCMAKE_BUILD_TYPE=Release -DRUBY_LIBRARY=C:\Ruby25-x64\lib -DPORT="AppleWin" -DENABLE_WEBKIT_LEGACY="OFF" ..\src
7. msbuild /p:Configuration=Release;Platform=Win32 WebKit.sln /t:Rebuild

Failures(see attachment):
D:\WebKit\src\Tools\DumpRenderTree\win\DRTDesktopNotificationPresenter.h(32,10): error C1083:  Cannot open include file: 'WebKitLegacy/WebKit.h': No such file or directory (d:\agent\_work\3\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0prepro.c:1709) [D:\WebKit\build_x86\Tools\DumpRenderTree\DumpRenderTreeLib.vcxproj]
D:\WebKit\src\Tools\DumpRenderTree\win\DRTDesktopNotificationPresenter.h(32,10): error C1083: #include <WebKitLegacy/WebKit.h> [D:\WebKit\build_x86\Tools\DumpRenderTree\DumpRenderTreeLib.vcxproj]
D:\WebKit\src\Tools\DumpRenderTree\win\DRTDesktopNotificationPresenter.h(32,10): error C1083:          ^ (compiling source file D:\WebKit\src\Tools\DumpRenderTree\win\DRTDesktopNotificationPresenter.cpp) [D:\WebKit\build_x86\Tools\DumpRenderTree\DumpRenderTreeLib.vcxproj]
D:\WebKit\src\Tools\DumpRenderTree\win\FrameLoadDelegate.h(32,10): error C1083:  Cannot open include file: 'WebKitLegacy/WebKit.h': No such file or directory (d:\agent\_work\3\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0prepro.c:1709) [D:\WebKit\build_x86\Tools\DumpRenderTree\DumpRenderTreeLib.vcxproj]
D:\WebKit\src\Tools\DumpRenderTree\win\FrameLoadDelegate.h(32,10): error C1083: #include <WebKitLegacy/WebKit.h> [D:\WebKit\build_x86\Tools\DumpRenderTree\DumpRenderTreeLib.vcxproj]
D:\WebKit\src\Tools\DumpRenderTree\win\FrameLoadDelegate.h(32,10): error C1083:          ^ (compiling source file D:\WebKit\src\Tools\DumpRenderTree\win\FrameLoadDelegate.cpp) [D:\WebKit\build_x86\Tools\DumpRenderTree\DumpRenderTreeLib.vcxproj]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190118/58daf56e/attachment.html>


More information about the webkit-unassigned mailing list