[Webkit-unassigned] [Bug 193899] webkit wincairo port build failed on MSVC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 30 03:39:44 PST 2019


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

--- Comment #6 from QuellaZhang <1998zhangyi at gmail.com> ---
Thank you very much, now we have got a clean x64-build on wincairo port with latest webkit version 40ba953.

In fact, I first used the official build command(perl build-webkit --wincairo), but I got the below error, we want to use MSVC, but it finds gcc or clang, do you have any solution? Thanks in advance.

>perl ./Tools/Scripts/build-webkit --release --wincairo
Updating WinCairoRequirements.zip...
Found existing release: v2018.11.27
Seeking latest release from WebKitForWindows/WinCairoRequirements...
Found release to download: v2018.11.27
Already up-to-date!
Updating vswhere.exe...
No existing release found.
Seeking latest release from Microsoft/vswhere...
Found release to download: 2.5.9
Downloading to D:\WebKit\src\WebKitLibraries\win\tools...
Done!
+  cmake -DPORT="WinCairo" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Release -G Ninja -DDEVELOPER_MODE=ON -DENABLE_EXPERIMENTAL_FEATURES=ON "D:/WebKit/src"
-- The C compiler identification is GNU 5.2.0
-- The CXX compiler identification is GNU 5.2.0
-- Check for working C compiler: C:/Program Files/Haskell Platform/8.0.2-a/mingw/bin/gcc.exe
-- Check for working C compiler: C:/Program Files/Haskell Platform/8.0.2-a/mingw/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files/Haskell Platform/8.0.2-a/mingw/bin/c++.exe
-- Check for working CXX compiler: C:/Program Files/Haskell Platform/8.0.2-a/mingw/bin/c++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The CMake build type is: Release
CMake Error at CMakeLists.txt:65 (message):
  GCC 6.0.0 is required to build WebKitGTK+, use a newer GCC version or clang


-- Configuring incomplete, errors occurred!
See also "D:/WebKit/src/WebKitBuild/Release/CMakeFiles/CMakeOutput.log".
Run Visual Studio 2017 installation vcvars.bat before build-webkit when using ninja at ./Tools/Scripts/build-webkit line 304.

-- 
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/20190130/8d9bf3d6/attachment-0001.html>


More information about the webkit-unassigned mailing list