[Webkit-unassigned] [Bug 265988] New: [WinCairo] When building WebKit WinCairo port failed to build due to errors MSB8066、 C2131、 C2668、C3863 on windows with MSVC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 7 01:31:34 PST 2023


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

            Bug ID: 265988
           Summary: [WinCairo] When building WebKit WinCairo port failed
                    to build due to errors  MSB8066、 C2131、 C2668、C3863 on
                    windows with MSVC
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Windows 10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: charmian-ch at outlook.com

Created attachment 468919

  --> https://bugs.webkit.org/attachment.cgi?id=468919&action=review

msbuild error logs

Issue description:
We tried to build WebKit WinCairo using VS2022. WebKit WinCairo port failed to build due to ( MSB8066、 C2131、 C2668、C3863) on windows with MSVC. It can be reproduced on master branch commit https://github.com/WebKit/WebKit/commit/f0019c9. Could you please help take a look at this? Thanks in advance!

Repro steps:
1. git clone https://github.com/WebKit/webkit F:\WebKit
2. open a VS 2022 x64 command prompt as admin and browse to F:\WebKit
3. download latest WebKitAuxiliaryLibrary.zip from 
   https://github.com/WebKitForWindows/WebKitRequirements/releases/download/v2023.12.06/WebKitRequirementsWin64.zip and unzip to F:\tools\WebKit
4. git -C "F:\webkit" reset --hard f0019c9
5. set path=F:\tools\WebKit\tools;%path%
6. mkdir F:\WebKit\build_amd64_WinCairo folder, and browse to it.
7. xcopy F:\tools\WebKit\WebKitRequirementsWin64 F:\WebKit\WebKitLibraries\win /k/r/e/i/s/c/h/f/y
8.cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.22621.0 -DCMAKE_BUILD_TYPE=Release -DRUBY_LIBRARY=C:\tools\ruby26\lib -DPORT="WinCairo" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DSHOW_BINDINGS_GENERATION_PROGRESS=1 -DDEVELOPER_MODE=ON -DENABLE_EXPERIMENTAL_FEATURES=ON .. 2>&1
9. set _CL_=/Zc:lambdaoutlook.com
10. msbuild /p:Platform=x64 /p:Configuration=Release WebKit.sln /t:Rebuild 2>&1

Actual result:

-- 
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/20231207/c5d26f68/attachment.htm>


More information about the webkit-unassigned mailing list