QtWebKit - cannot build qtwebkit-stable from https://github.com/annulen/webkit.git



  • Hello,
    I am trying to build qtwebkit-stable (x64) from https://github.com/annulen/webkit.git with Qt 5.10(MSVC 2015 x64).

    I am trying build with following command:

    perl Tools/Scripts/build-webkit --qt --release --minimal --cmakeargs="-Wno-dev -DCMAKE_PREFIX_PATH=d:\Qt\5.10.0\msvc2015_64 -Thost=x64 -DCMAKE_GENERATOR_PLATFORM=x64" -G \"Visual Studio 14 2015 Win64\"
    

    but ends with errors:

    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\ALL_BUILD.vcxproj" (default target) (1) ->
    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\WebKit2\DatabaseProcess.vcxproj" (default target) (4) ->
    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\WebKit\WebKit.vcxproj" (default target) (5) ->
    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj" (default target) (6) ->
    (_MASM target) ->
      velInterpreterWin.asm(10): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(11): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : sp [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpr
    oj]
      velInterpreterWin.asm(12): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : CAST [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcx
    proj]
      velInterpreterWin.asm(13): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(14): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : CAST [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcx
    proj]
      velInterpreterWin.asm(15): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(16): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : CAST [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcx
    proj]
      velInterpreterWin.asm(17): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(18): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(19): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      MASM : error A2045: missing angle bracket or brace in literal [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScr
    iptCore\JavaScriptCore.vcxproj]
      velInterpreterWin.asm(20): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(21): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : > [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(22): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      MASM : error A2170: directive must appear inside a macro [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCo
    re\JavaScriptCore.vcxproj]
      velInterpreterWin.asm(23): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(24): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(25): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      MASM : error A2045: missing angle bracket or brace in literal [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScr
    iptCore\JavaScriptCore.vcxproj]
      velInterpreterWin.asm(26): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : result [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.v
    cxproj]
      velInterpreterWin.asm(27): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : decodeResult [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScript
    Core.vcxproj]
      velInterpreterWin.asm(28): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      MASM : error A2045: missing angle bracket or brace in literal [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScr
    iptCore\JavaScriptCore.vcxproj]
      velInterpreterWin.asm(29): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      MASM : error A2008: syntax error [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(30): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      MASM : error A2170: directive must appear inside a macro [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCo
    re\JavaScriptCore.vcxproj]
      velInterpreterWin.asm(31): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(32): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(33): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      MASM : error A2170: directive must appear inside a macro [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCo
    re\JavaScriptCore.vcxproj]
      velInterpreterWin.asm(36): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(37): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(38): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(39): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(40): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      MASM : error A2045: missing angle bracket or brace in literal [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScr
    iptCore\JavaScriptCore.vcxproj]
      velInterpreterWin.asm(41): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : result [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.v
    cxproj]
      velInterpreterWin.asm(42): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : decodeResult [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScript
    Core.vcxproj]
      velInterpreterWin.asm(43): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      MASM : error A2045: missing angle bracket or brace in literal [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScr
    iptCore\JavaScriptCore.vcxproj]
      velInterpreterWin.asm(44): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(45): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(46): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(47): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : CAST [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcx
    proj]
      velInterpreterWin.asm(48): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(49): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : CAST [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcx
    proj]
      velInterpreterWin.asm(50): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : sp [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpr
    oj]
      velInterpreterWin.asm(54): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : DISPATCH_OPCODE [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScr
    iptCore.vcxproj]
      velInterpreterWin.asm(57): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : sp [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpr
    oj]
      velInterpreterWin.asm(58): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(61): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      velInterpreterWin.asm(62): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : t3 [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpr
    oj]
      velInterpreterWin.asm(63): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      MASM : error A2045: missing angle bracket or brace in literal [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScr
    iptCore\JavaScriptCore.vcxproj]
      velInterpreterWin.asm(64): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      MASM : error A2045: missing angle bracket or brace in literal [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScr
    iptCore\JavaScriptCore.vcxproj]
      velInterpreterWin.asm(65): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      MASM : error A2044: invalid character in file [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScri
    ptCore.vcxproj]
      velInterpreterWin.asm(66): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      MASM : error A2170: directive must appear inside a macro [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCo
    re\JavaScriptCore.vcxproj]
      velInterpreterWin.asm(67): error A2071: initializer magnitude too large for specified size [D:\CppProjects\qt-webkit-minimal\webkit\WebKi
    tBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj]
      : error A2008 : syntax error : . [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpro
    j]
      C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\masm.targets(50,5): error MSB3721: Polecenie ml64.exe /c /nolo
    go /Zi /Fo"JavaScriptCore.dir\Release\LowLevelInterpreterWin.obj" /D"WIN32" /D"_WINDOWS" /D"NDEBUG" /D"BUILDING_JavaScriptCore" /D"BUILDING
    _WITH_CMAKE=1" /D"HAVE_CONFIG_H=1" /D"BUILDING_QT__=1" /D"QT_NO_EXCEPTIONS" /D"QT_USE_QSTRINGBUILDER" /D"QT_NO_CAST_TO_ASCII" /D"QT_ASCII_C
    AST_WARNINGS" /D"QT_DEPRECATED_WARNINGS" /D"QT_DISABLE_DEPRECATED_BEFORE=0x050000" /D"NOMINMAX" /D"UNICODE" /D"_UNICODE" /D"WINVER=0x601" /
    D"_HAS_EXCEPTIONS=0" /D"_CRT_SECURE_NO_WARNINGS" /D"_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1" /D"STATICALLY_LINKED_WITH_WTF" /D"QT_CORE_LI
    B" /D"QT_NO_DEBUG" /D"CMAKE_INTDIR="Release"" /I "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore" /I "D:
    \CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore" /I "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\DerivedSources
    \ForwardingHeaders" /I "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\DerivedSources" /I "D:\CppProjects\qt-webkit-minimal\we
    bkit\WebKitLibraries\win\include" /I "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release" /I "D:\CppProjects\qt-webkit-minimal\web
    kit\Source\JavaScriptCore\.." /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\API" /I "D:\CppProjects\qt-webkit-minimal\w
    ebkit\Source\JavaScriptCore\ForwardingHeaders" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\assembler" /I "D:\CppProje
    cts\qt-webkit-minimal\webkit\Source\JavaScriptCore\b3" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\b3\air" /I "D:\Cpp
    Projects\qt-webkit-minimal\webkit\Source\JavaScriptCore\bindings" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\builtin
    s" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\bytecode" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScrip
    tCore\bytecompiler" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\dfg" /I "D:\CppProjects\qt-webkit-minimal\webkit\Sour
    ce\JavaScriptCore\disassembler" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\disassembler\udis86" /I "D:\CppProjects\q
    t-webkit-minimal\webkit\Source\JavaScriptCore\ftl" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\heap" /I "D:\CppProjec
    ts\qt-webkit-minimal\webkit\Source\JavaScriptCore\debugger" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\inspector" /I
     "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\inspector\agents" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaSc
    riptCore\inspector\augmentable" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\inspector\remote" /I "D:\CppProjects\qt-w
    ebkit-minimal\webkit\Source\JavaScriptCore\interpreter" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\jit" /I "D:\CppPr
    ojects\qt-webkit-minimal\webkit\Source\JavaScriptCore\llint" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\parser" /I "
    D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\profiler" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\r
    eplay" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\runtime" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaSc
    riptCore\tools" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\JavaScriptCore\wasm" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\
    JavaScriptCore\yarr" /I "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\DerivedSources\JavaScriptCore" /I "D:\CppProjects\qt-w
    ebkit-minimal\webkit\WebKitBuild\Release\DerivedSources\JavaScriptCore\inspector" /I "D:\CppProjects\qt-webkit-minimal\webkit\Source\WTF" /
    I "D:\Qt\5.10.0\msvc2015_64\include" /I "D:\Qt\5.10.0\msvc2015_64\include\QtCore" /I "D:\Qt\5.10.0\msvc2015_64\.\mkspecs\win32-msvc" /W3 /e
    rrorReport:prompt  /Ta"D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\DerivedSources\JavaScriptCore\LowLevelInterpreterWin.asm
    " has been completed; error code: 1. [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxpr
    oj]
    
        12 Warning(s)
        99 Error(s)
    

    but when I try compile with:

    perl Tools/Scripts/build-webkit --qt --release --minimal --cmakeargs="-Wno-dev -DCMAKE_PREFIX_PATH=d:\Qt\5.10.0\msvc2015_64 -Thost=x64" -G \"Visual Studio 14 2015 Win64\"
    

    other errors appers:

    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\ALL_BUILD.vcxproj" (default target) (1) ->
    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\WebKit2\DatabaseProcess.vcxproj" (default target) (4) ->
    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\WebKit\WebKit.vcxproj" (default target) (5) ->
    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\JavaScriptCore.vcxproj" (default target) (6) ->
    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaScriptCore\LLIntOffsetsExtractor.vcxproj" (default target) (7) ->
    (Link target) ->
      LINK : fatal error LNK1181: cannot open input file 'icudt.lib' [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\JavaSc
    riptCore\LLIntOffsetsExtractor.vcxproj]
    
    
    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\ALL_BUILD.vcxproj" (default target) (1) ->
    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Tools\ImageDiff\ImageDiff.vcxproj" (default target) (18) ->
      Qt5Core.lib(Qt5Core.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' [D:\CppProjects\qt-web
    kit-minimal\webkit\WebKitBuild\Release\Tools\ImageDiff\ImageDiff.vcxproj]
    
    
    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\ALL_BUILD.vcxproj" (default target) (1) ->
    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Tools\TestWebKitAPI\TestWTF.vcxproj" (default target) (22) ->
      LINK : fatal error LNK1181: cannot open input file 'icudt.lib' [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Tools\TestWeb
    KitAPI\TestWTF.vcxproj]
    
        10 Warning(s)
        3 Error(s)
    

    I suppose that script 'build-webkit' is trying to build 32bit version, because he is searching for 'icudt.lib' in 'd:\CppProjects\qt-webkit-minimal\webkit\WebKitLibraries\win\lib32'.

    How can I compile qtwebkit 64bit with MSVC 2015?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    What command line prompt did you start from ?



  • @SGaist said in QtWebKit - cannot build qtwebkit-stable from https://github.com/annulen/webkit.git:

    Hi and welcome to devnet,
    What command line prompt did you start from ?

    I started from
    -cmd.exe

    next I executed

    "perl Tools/Scripts/build-webkit --qt --release --minimal --cmakeargs="-Wno-dev -DCMAKE_PREFIX_PATH=d:\Qt\5.10.0\msvc2015_64 -Thost=x64 -DCMAKE_GENERATOR_PLATFORM=x64" -G \"Visual Studio 14 2015 Win64\"
    

    which gives me 99 errors (see my first post).

    then I deleted contents in 'WebKitBuild' directory and executed following:

    perl Tools/Scripts/build-webkit --qt --release --minimal --cmakeargs="-Wno-dev -DCMAKE_PREFIX_PATH=d:\Qt\5.10.0\msvc2015_64 -Thost=x64" -G \"Visual Studio 14 2015 Win64\"
    

    but this gives me 3 errors (see my first post).

    Of course earlier I installed:
    -Visual Studio Community 2015
    -Qt 5.10 MSVC 2015 x64,
    -CMake 3.10.1,
    -Ruby 2.5.0,
    -ActivePerl 5.24.3,
    -Python 2.7.14,
    -and I also cloned http://code.qt.io/cgit/qt/qt5.git and added gnuwin32/bin from cloned repository into %PATH%.

    At the beginning of the script execution I have this log:

    perl Tools/Scripts/build-webkit --qt --release --minimal --cmakeargs="-Wno-dev -DCMAKE_PREFIX_PATH=d:\Qt\5.10.0\msvc2015_64 -Thost=x64 -DCMAKE_GENERATOR_PLATFORM=x64" -G \"Visual Studio 14 2015 Win64\"
    Checking Last-Modified date of qtwebkit-libs-win.zip...
    Located a file of type application/zip, of size 127044099.
    Current qtwebkit-libs-win is up to date
    Not searching for unused variables given on the command line.
    -- Building for: Visual Studio 14 2015
    -- The C compiler identification is MSVC 19.0.24215.1
    -- The CXX compiler identification is MSVC 19.0.24215.1
    -- Check for working C compiler: D:/VisualStudio2015/VC/bin/amd64/cl.exe
    -- Check for working C compiler: D:/VisualStudio2015/VC/bin/amd64/cl.exe -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: D:/VisualStudio2015/VC/bin/amd64/cl.exe
    -- Check for working CXX compiler: D:/VisualStudio2015/VC/bin/amd64/cl.exe -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Found BISON: D:/CppProjects/qt5-supermod/qt5/gnuwin32/bin/bison.exe (found suitable version "3.0", minimum required is "2.1")
    -- Found Gperf: D:/CppProjects/qt5-supermod/qt5/gnuwin32/bin/gperf.exe (Required is at least version "3.0.1")
    -- Found Perl: D:/Perl64/bin/perl.exe (found suitable version "5.24.3", minimum required is "5.10.0")
    -- Found PythonInterp: D:/Python27/python.exe (found suitable version "2.7.14", minimum required is "2.7.0")
    -- Could NOT find Ruby (missing: RUBY_LIBRARY) (found suitable version "2.5.0", minimum required is "1.9")
    -- Looking for include file features.h
    -- Looking for include file features.h - not found
    -- Disabling ENABLE_DFG_JIT since ENABLE_JIT is disabled.
    -- Disabling ENABLE_MEDIA_CONTROLS_SCRIPT since ENABLE_VIDEO is disabled.
    -- Found Sqlite: D:/CppProjects/qt-webkit-minimal/webkit/WebKitLibraries/win/include
    -- Looking for pthread.h
    -- Looking for pthread.h - not found
    -- Found Threads: TRUE
    -- Found JPEG: D:/CppProjects/qt-webkit-minimal/webkit/WebKitLibraries/win/lib64/libjpeg.lib
    -- Found ZLIB: D:/CppProjects/qt-webkit-minimal/webkit/WebKitLibraries/win/lib64/zlib.lib (found version "1.2.8")
    -- Found PNG: D:/CppProjects/qt-webkit-minimal/webkit/WebKitLibraries/win/lib64/libpng.lib (found version "1.6.20")
    -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
    -- Found ICU header files in D:/CppProjects/qt-webkit-minimal/webkit/WebKitLibraries/win/include
    -- Found ICU libraries: D:/CppProjects/qt-webkit-minimal/webkit/WebKitLibraries/win/lib64/sicuuc.lib
    -- Found LibXml2: D:/CppProjects/qt-webkit-minimal/webkit/WebKitLibraries/win/lib64/libxml2.lib (found suitable version "2.9.3", minimum req
    uired is "2.8.0")
    -- Could NOT find Fontconfig (missing: FONTCONFIG_LIBRARIES FONTCONFIG_INCLUDE_DIR)
    -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
    -- Found WEBP: D:/CppProjects/qt-webkit-minimal/webkit/WebKitLibraries/win/include
    -- Looking for QT_OPENGL_DYNAMIC
    -- Looking for QT_OPENGL_DYNAMIC - found
    -- Qt OpenGL implementation: DynamicGL
    -- Qt OpenGL libraries: Qt5::Gui_GLESv2
    -- Qt EGL libraries: Qt5::Gui_EGL
    -- The following OPTIONAL packages have been found:
    
     * WebP
     * Qt5OpenGL (required version >= 5.2.0)
    
    -- The following REQUIRED packages have been found:
    
     * BISON (required version >= 2.1)
     * Gperf (required version >= 3.0.1)
     * Perl (required version >= 5.10.0)
     * PythonInterp (required version >= 2.7.0)
     * Sqlite
     * Threads
     * JPEG
     * PNG
     * ZLIB
     * ICU
     * LibXml2 (required version >= 2.8.0)
     * Qt5Core
     * Qt5Gui
     * Qt5Network
     * Qt5Widgets
     * Qt5Test
     * Qt5QuickTest
     * Qt5PrintSupport
       Required for ENABLE_PRINT_SUPPORT=ON
     * Qt5Qml (required version >= 5.10.0)
     * Qt5Quick
     * Qt5WebChannel
     * Qt5 (required version >= 5.2.0)
     * Ruby (required version >= 1.9)
    
    -- The following OPTIONAL packages have not been found:
    
     * Fontconfig
     * PkgConfig
    
    -- Installing in the same prefix as Qt, adopting their path scheme.
    -- Using platform-specific CMakeLists: D:/CppProjects/qt-webkit-minimal/webkit/Source/WTF/wtf/PlatformQt.cmake
    -- The ASM_MASM compiler identification is MSVC
    -- Found assembler: D:/VisualStudio2015/VC/bin/amd64/ml64.exe
    -- Using platform-specific CMakeLists: D:/CppProjects/qt-webkit-minimal/webkit/Source/JavaScriptCore/PlatformQt.cmake
    -- Using platform-specific CMakeLists: D:/CppProjects/qt-webkit-minimal/webkit/Source/JavaScriptCore/shell/PlatformQt.cmake
    -- Using platform-specific CMakeLists: D:/CppProjects/qt-webkit-minimal/webkit/Source/WebCore/PlatformQt.cmake
    -- Using platform-specific CMakeLists: D:/CppProjects/qt-webkit-minimal/webkit/Source/WebKit/PlatformQt.cmake
    -- Using platform-specific CMakeLists: D:/CppProjects/qt-webkit-minimal/webkit/Source/WebKit2/PlatformQt.cmake
    -- Using platform-specific CMakeLists: D:/CppProjects/qt-webkit-minimal/webkit/Source/PlatformQt.cmake
    -- Using platform-specific CMakeLists: D:/CppProjects/qt-webkit-minimal/webkit/Tools/PlatformQt.cmake
    -- Using platform-specific CMakeLists: D:/CppProjects/qt-webkit-minimal/webkit/Tools/DumpRenderTree/PlatformQt.cmake
    -- Using platform-specific CMakeLists: D:/CppProjects/qt-webkit-minimal/webkit/Tools/ImageDiff/PlatformQt.cmake
    -- Using platform-specific CMakeLists: D:/CppProjects/qt-webkit-minimal/webkit/Tools/TestWebKitAPI/PlatformQt.cmake
    -- Enabled features:
    --  ENABLE_ACCELERATED_2D_CANVAS ............ OFF
    --  ENABLE_ALLINONE_BUILD                     OFF
    --  ENABLE_API_TESTS ........................ ON
    --  ENABLE_CSS_GRID_LAYOUT                    OFF
    --  ENABLE_DATABASE_PROCESS ................. ON
    --  ENABLE_DATALIST_ELEMENT                   OFF
    --  ENABLE_DEVICE_ORIENTATION ............... OFF
    --  ENABLE_DRAG_SUPPORT                       ON
    --  ENABLE_FULLSCREEN_API ................... OFF
    --  ENABLE_GAMEPAD_DEPRECATED                 OFF
    --  ENABLE_GEOLOCATION ...................... OFF
    --  ENABLE_ICONDATABASE                       OFF
    --  ENABLE_INDEXED_DATABASE ................. OFF
    --  ENABLE_INSPECTOR_UI                       ON
    --  ENABLE_JIT .............................. OFF
    --  ENABLE_LEGACY_WEB_AUDIO                   OFF
    --  ENABLE_LINK_PREFETCH .................... OFF
    --  ENABLE_MEDIA_SOURCE                       OFF
    --  ENABLE_NETSCAPE_PLUGIN_API .............. OFF
    --  ENABLE_OPENGL                             ON
    --  ENABLE_PRINT_SUPPORT .................... ON
    --  ENABLE_QT_GESTURE_EVENTS                  ON
    --  ENABLE_QT_WEBCHANNEL .................... ON
    --  ENABLE_SAMPLING_PROFILER                  OFF
    --  ENABLE_SPELLCHECK ....................... ON
    --  ENABLE_TOUCH_EVENTS                       OFF
    --  ENABLE_VIDEO ............................ OFF
    --  ENABLE_WEBKIT2                            ON
    --  ENABLE_WEB_AUDIO ........................ OFF
    --  ENABLE_X11_TARGET                         OFF
    --  ENABLE_XSLT ............................. OFF
    --  USE_GSTREAMER                             OFF
    --  USE_LIBHYPHEN ........................... OFF
    --  USE_MEDIA_FOUNDATION                      OFF
    --  USE_QT_MULTIMEDIA ....................... OFF
    --  USE_SYSTEM_MALLOC                         1
    --  USE_WOFF2 ............................... ON
    -- Configuring done
    

  • Lifetime Qt Champion

    Why not start from the Visual Studio pre-configured command line ?



  • Please don't use --minimal, it is not supported. Amongst other effects, this option disables JIT, which doesn't work on Windows.

    Instead, disable options that you certainly don't need, e.g. --no-video.



  • @Konstantin-Tokarev said in QtWebKit - cannot build qtwebkit-stable from https://github.com/annulen/webkit.git:

    Please don't use --minimal, it is not supported. Amongst other effects, this option disables JIT, which doesn't work on Windows.
    Instead, disable options that you certainly don't need, e.g. --no-video.

    Thanks. I removed --minimal and got 1 error:

    perl Tools/Scripts/build-webkit --qt --release --cmakeargs="-Wno-dev -DCMAKE_PREFIX_PATH=d:\Qt\5.10.0\msvc2015_64 -Thost=x64 -DCMAKE_GENERATOR_PLATFORM=x64" -G \"Visual Studio 14 2015 Win64\"
    ...
    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\ALL_BUILD.vcxproj" (default target) (1) ->
    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\WebKit2\DatabaseProcess.vcxproj" (default target) (4) ->
    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\WebKit\WebKit.vcxproj" (default target) (5) ->
    "D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\WebKit2\WebKit2.vcxproj" (default target) (14) ->
    (ClCompile target) ->
      D:\CppProjects\qt-webkit-minimal\webkit\Source\WebKit2\Platform\IPC\win\ConnectionWin.cpp(32): fatal error C1083: Cannot open include fil
    e: 'wtf/text/win/WCharStringExtras.h': No such file or directory [D:\CppProjects\qt-webkit-minimal\webkit\WebKitBuild\Release\Source\WebKit
    2\WebKit2.vcxproj]
    
        183 Warning(s)
        1 Error(s)
    

    What should I do?



  • @ex_it You should build qtwebkit-5.212 branch, not qtwebkit-stable. See readme.



  • @Konstantin-Tokarev said in QtWebKit - cannot build qtwebkit-stable from https://github.com/annulen/webkit.git:

    @ex_it You should build qtwebkit-5.212 branch, not qtwebkit-stable. See readme.

    I still have same one compile error after switch to qtwebkit-5.212 branch:

    dev@komp MINGW64 /d/CppProjects/qt-webkit-minimal/webkit (qtwebkit-5.212)
    $ git log
    commit aad6131617cdccc6f5173199394c1a8314fb7202 (grafted, HEAD -> qtwebkit-5.212, origin/qtwebkit-stable, origin/HEAD, qtwebkit-stable)
    Author: Konstantin Tokarev <annulen@yandex.ru>
    Date:   Thu Jan 11 05:53:21 2018 +0300
    
        REGRESSION(dc9ff80e6): macOS frameworks are installed without headers
    


  • I have downloaded fresh copy from https://github.com/annulen/webkit/archive/qtwebkit-5.212.0-alpha2.tar.gz and now building properly.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.