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

Can't build WebEngine on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.7.2, 6.8.0
    • WebEngine
    • None
    • Windows 10/11 MSVC 17.10/11
    • Windows

    Description

       

      I'm getting 2 different errors on x86 and x64. Haven't found any solution.

      x64:

      [2024-11-05T18:51:09.761Z] ninja -t msvc -e environment.x64 -- "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe" /c ../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace.cc /Foobj/base/allocator/partition_allocator/src/partition_alloc/allocator_base/stack_trace.obj /nologo /showIncludes -DUSE_AURA=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_NI -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DIS_PARTITION_ALLOC_BASE_IMPL -Igen -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/base/allocator/partition_allocator/src -Igen/base/allocator/partition_allocator/src /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 /wd4003 /wd4068 /wd5051 /w34996 /wd4244 /Gy /FS /bigobj /utf-8 /Zc:preprocessor /wd5105 /MD /O2 /Ob2 /Oy- /Zc:inline /Gw /wd4577 /std:c++20 /TP /GR- /Fd"obj/base/allocator/partition_allocator/src/partition_alloc/allocator_base_cc.pdb"[2024-11-05T18:51:10.218Z] ../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/base/allocator/partition_allocator/src\partition_alloc/partition_alloc_base/threading/platform_thread.h(17): fatal error C1083: Cannot open include file: 'partition_alloc/partition_alloc_base/threading/platform_thread_ref.h': No such file or directory 

      Need to say, that platform_thread_ref.h exists in the folder. 

       

      x86:

       

      [2024-11-05T18:31:51.875Z] FAILED: obj/third_party/perfetto/src/trace_processor/containers/containers/bit_vector_iterators.obj [2024-11-05T18:31:51.876Z] ninja -t msvc -e environment.x64 -- "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x86\cl.exe" /c ../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/containers/bit_vector_iterators.cc /Foobj/third_party/perfetto/src/trace_processor/containers/containers/bit_vector_iterators.obj /nologo /showIncludes -DUSE_AURA=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_NI -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DPERFETTO_IMPLEMENTATION -Igen -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto/src/profiling/memory/include -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 /wd4003 /wd4068 /wd5051 /w34996 /wd4244 /Gy /FS /bigobj /utf-8 /Zc:preprocessor /wd5105 /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi /MD /wd4577 /std:c++20 /TP /GR- /Fd"obj/third_party/perfetto/src/trace_processor/containers/containers_cc.pdb"[2024-11-05T18:31:51.876Z] ../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto\src/trace_processor/containers/bit_vector.h(573): error C3861: '__popcnt64': identifier not found[2024-11-05T18:31:51.876Z] ../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto\src/trace_processor/containers/bit_vector.h(579): error C3861: '__popcnt64': identifier not found[2024-11-05T18:31:51.876Z] [1130/29371] CXX obj/third_party/perfetto/src/trace_processor/containers/containers/bit_vector.obj[2024-11-05T18:31:51.876Z] FAILED: obj/third_party/perfetto/src/trace_processor/containers/containers/bit_vector.obj [2024-11-05T18:31:51.876Z] ninja -t msvc -e environment.x64 -- "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x86\cl.exe" /c ../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/containers/bit_vector.cc /Foobj/third_party/perfetto/src/trace_processor/containers/containers/bit_vector.obj /nologo /showIncludes -DUSE_AURA=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_NI -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DPERFETTO_IMPLEMENTATION -Igen -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto/src/profiling/memory/include -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 /wd4003 /wd4068 /wd5051 /w34996 /wd4244 /Gy /FS /bigobj /utf-8 /Zc:preprocessor /wd5105 /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi /MD /wd4577 /std:c++20 /TP /GR- /Fd"obj/third_party/perfetto/src/trace_processor/containers/containers_cc.pdb"[2024-11-05T18:31:51.876Z] ../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto\src/trace_processor/containers/bit_vector.h(573): error C3861: '__popcnt64': identifier not found[2024-11-05T18:31:52.391Z] ../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto\src/trace_processor/containers/bit_vector.h(579): error C3861: '__popcnt64': identifier not found[2024-11-05T18:31:52.391Z] ../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/containers/bit_vector.cc(241): error C3861: '__popcnt64': identifier not found[2024-11-05T18:31:52.391Z] [1131/29371] LIB obj/third_party/perfetto/protos/perfetto/config/profiling/cpp.lib[2024-11-05T18:31:52.391Z] [1132/29371] LIB obj/third_party/perfetto/protos/perfetto/config/sys_stats/cpp.lib[2024-11-05T18:31:52.888Z] [1133/29371] ACTION //third_party/devtools-frontend/src/front_end/core/common:devtools_entrypoint-bundle-tsconfig(//build/toolchain/win:x64)[2024-11-05T18:31:52.888Z] [1134/29371] CXX obj/third_party/perfetto/src/trace_processor/containers/containers/string_pool.obj[2024-11-05T18:31:52.888Z] [1135/29371] ACTION //third_party/devtools-frontend/src/front_end/ui/lit-html:devtools_entrypoint-bundle-bundle(//build/toolchain/win:x64)[2024-11-05T18:31:53.367Z] [1136/29371] CXX obj/third_party/perfetto/src/trace_processor/containers/containers/row_map.obj[2024-11-05T18:31:53.367Z] FAILED: obj/third_party/perfetto/src/trace_processor/containers/containers/row_map.obj [2024-11-05T18:31:53.367Z] ninja -t msvc -e environment.x64 -- "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x86\cl.exe" /c ../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/containers/row_map.cc /Foobj/third_party/perfetto/src/trace_processor/containers/containers/row_map.obj /nologo /showIncludes -DUSE_AURA=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_NI -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DPERFETTO_IMPLEMENTATION -Igen -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto/src/profiling/memory/include -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 /wd4003 /wd4068 /wd5051 /w34996 /wd4244 /Gy /FS /bigobj /utf-8 /Zc:preprocessor /wd5105 /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi /MD /wd4577 /std:c++20 /TP /GR- /Fd"obj/third_party/perfetto/src/trace_processor/containers/containers_cc.pdb"[2024-11-05T18:31:53.367Z] ../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto\src/trace_processor/containers/bit_vector.h(573): error C3861: '__popcnt64': identifier not found[2024-11-05T18:31:53.367Z] ../../../../../../../../../qt430587f03a0da/s/src/qtwebengine/src/3rdparty/chromium/third_party/perfetto\src/trace_processor/containers/bit_vector.h(579): error C3861: '__popcnt64': identifier not found 

      Both build logs are attached.

       

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            mabean Max Bespalov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes