Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96266

webengine not building (linking): LINK : fatal error LNK1104: cannot open file 'CMakeFiles_QtWebEngineCore_Release_objects.rsp'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.2.0 Beta4
    • Fix Version/s: 6.2.0 RC
    • Component/s: WebEngine
    • Labels:
    • Environment:
      Windows
    • Commits:
      16b2059e0c1990e1533e4222da5f899650e4078e (qt/qtwebengine/dev)

      Description

      Download Qt6.2.0 beta4 sources, configure:

      cmake -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe -GNinja -DCMAKE_BUILD_TYPE=Release -DQT_BUILD_EXAMPLES=OFF -DBUILD_WITH_PCH=OFF -DOPENSSL_ROOT_DIR=C:\openssl\include\.. -DFEATURE_system_zlib=OFF -DPostgreSQL_ROOT=C:\Utils\postgresql\pgsql\lib\.. -DQT_BUILD_TESTS=OFF C:\Users\qt\RTA\src-6.2.0 -DCMAKE_INSTALL_PREFIX:PATH=C:\Users\qt\RTA\src-6.2.0\qtbase

      And compile: cmake --build . --parallel.

      Build fails with:

      [8981/9044] Linking CXX shared library qtbase\bin\Qt6WebEngineCore.dll
      FAILED: qtbase/bin/Qt6WebEngineCore.dll qtbase/lib/Qt6WebEngineCore.lib 
      cmd.exe /C "cd . && C:\CMake\bin\cmake.exe -E vs_link_dll --intdir=qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MIB055~1\2019\PROFES~1\VC\Tools\MSVC\1428~1.299\bin\Hostx64\x64\link.exe /nologo qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\WebEngineCore_autogen\mocs_compilation.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\WebEngineCore_resource.rc.res qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qtwebenginecoreglobal.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginecertificateerror.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineclientcertificateselection.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineclientcertificatestore.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginecontextmenurequest.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginecookiestore.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginedownloadrequest.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginefindtextresult.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginefullscreenrequest.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginehistory.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginehttprequest.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineloadinginfo.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginemessagepumpscheduler.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginenavigationrequest.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginenewwindowrequest.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginenotification.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginepage.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineprofile.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginequotarequest.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineregisterprotocolhandlerrequest.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginescript.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginescriptcollection.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginesettings.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineurlrequestinfo.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineurlrequestjob.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineurlscheme.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineurlschemehandler.cpp.obj  /out:qtbase\bin\Qt6WebEngineCore.dll /implib:qtbase\lib\Qt6WebEngineCore.lib /pdb:qtbase\bin\Qt6WebEngineCore.pdb /dll /version:6.2 /machine:x64 /INCREMENTAL:NO  @CMakeFiles_QtWebEngineCore_Release_objects.rsp @CMakeFiles_QtWebEngineCore_Release_archives.rsp @CMakeFiles_QtWebEngineCore_Release_libs.rsp -DYNAMICBASE -NXCOMPAT -OPT:REF -OPT:ICF -GUARD:CF  qtbase\lib\Qt6WebChannel.lib  qtbase\lib\Qt6Positioning.lib  qtbase\lib\Qt6Quick.lib  qtbase\lib\Qt6OpenGL.lib  user32.lib  qtbase\lib\Qt6Gui.lib  d3d11.lib  dxgi.lib  dxguid.lib  qtbase\lib\Qt6QmlModels.lib  qtbase\lib\Qt6Qml.lib  qtbase\lib\Qt6Network.lib  ws2_32.lib  shell32.lib  qtbase\lib\Qt6Core.lib  mpr.lib  userenv.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  && qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\post-build.bat dbbade64eb25de84"
      LINK: command "C:\PROGRA~2\MIB055~1\2019\PROFES~1\VC\Tools\MSVC\1428~1.299\bin\Hostx64\x64\link.exe /nologo qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\WebEngineCore_autogen\mocs_compilation.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\WebEngineCore_resource.rc.res qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qtwebenginecoreglobal.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginecertificateerror.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineclientcertificateselection.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineclientcertificatestore.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginecontextmenurequest.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginecookiestore.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginedownloadrequest.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginefindtextresult.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginefullscreenrequest.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginehistory.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginehttprequest.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineloadinginfo.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginemessagepumpscheduler.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginenavigationrequest.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginenewwindowrequest.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginenotification.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginepage.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineprofile.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginequotarequest.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineregisterprotocolhandlerrequest.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginescript.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginescriptcollection.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebenginesettings.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineurlrequestinfo.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineurlrequestjob.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineurlscheme.cpp.obj qtwebengine\src\core\api\CMakeFiles\WebEngineCore.dir\qwebengineurlschemehandler.cpp.obj /out:qtbase\bin\Qt6WebEngineCore.dll /implib:qtbase\lib\Qt6WebEngineCore.lib /pdb:qtbase\bin\Qt6WebEngineCore.pdb /dll /version:6.2 /machine:x64 /INCREMENTAL:NO @CMakeFiles_QtWebEngineCore_Release_objects.rsp @CMakeFiles_QtWebEngineCore_Release_archives.rsp @CMakeFiles_QtWebEngineCore_Release_libs.rsp -DYNAMICBASE -NXCOMPAT -OPT:REF -OPT:ICF -GUARD:CF qtbase\lib\Qt6WebChannel.lib qtbase\lib\Qt6Positioning.lib qtbase\lib\Qt6Quick.lib qtbase\lib\Qt6OpenGL.lib user32.lib qtbase\lib\Qt6Gui.lib d3d11.lib dxgi.lib dxguid.lib qtbase\lib\Qt6QmlModels.lib qtbase\lib\Qt6Qml.lib qtbase\lib\Qt6Network.lib ws2_32.lib shell32.lib qtbase\lib\Qt6Core.lib mpr.lib userenv.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:qtbase\bin\Qt6WebEngineCore.dll.manifest" failed (exit code 1104) with the following output:
      Microsoft (R) Incremental Linker Version 14.28.29914.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      LINK : fatal error LNK1104: cannot open file 'CMakeFiles_QtWebEngineCore_Release_objects.rsp'
      

      I'll attach full log tomorrow.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            michal Michal Klocek
            Reporter:
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes