msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.28k stars 1.22k forks source link

[WIP] qt6-webengine: QtWebEngineCore now starting to build (with errors) #17341

Closed raedrizqie closed 1 year ago

raedrizqie commented 1 year ago

Configured with:

  export CC=${CC}
  export CXX=${CXX}
  export AR=ar
  export NM=nm

  MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=" \
  ${MINGW_PREFIX}/bin/cmake \
    -GNinja \
    -DCMAKE_MESSAGE_LOG_LEVEL=STATUS \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=${MINGW_PREFIX} \
    -DQT_FEATURE_webengine_system_ffmpeg=ON \
    -DQT_FEATURE_webengine_system_freetype=ON \
    -DQT_FEATURE_webengine_system_harfbuzz=ON \
    -DQT_FEATURE_webengine_system_icu=ON \
    -DQT_FEATURE_webengine_system_lcms2=ON \
    -DQT_FEATURE_webengine_system_libevent=ON \
    -DQT_FEATURE_webengine_system_libjpeg=ON \
    -DQT_FEATURE_webengine_system_libpng=ON \
    -DQT_FEATURE_webengine_system_libvpx=ON \
    -DQT_FEATURE_webengine_system_libwebp=ON \
    -DQT_FEATURE_webengine_system_libxml=ON \
    -DQT_FEATURE_webengine_system_minizip=ON \
    -DQT_FEATURE_webengine_system_opus=ON \
    -DQT_FEATURE_webengine_system_re2=ON \
    -DQT_FEATURE_webengine_system_zlib=ON \
    ..

Configure summary:

-- The following packages have been found:

 * Qt6BuildInternals (required version >= 6.2)
 * Qt6CoreTools (required version >= 6.5.0)
 * Qt6Core (required version >= 6.2)
 * Vulkan
 * Qt6GuiTools (required version >= 6.5.0)
 * Qt6Gui (required version >= 6.5.0)
 * Qt6WidgetsTools (required version >= 6.5.0)
 * Qt6Widgets (required version >= 6.5.0)
 * Qt6Network (required version >= 6.5.0)
 * WrapVulkanHeaders
 * Qt6OpenGL (required version >= 6.5.0)
 * Qt6QmlTools (required version >= 6.5.0)
 * Qt6Quick (required version >= 6.5.0)
 * Qt6PrintSupport (required version >= 6.5.0)
 * Qt6WebChannel (required version >= 6.5.0)
 * Qt6Positioning (required version >= 6.5.0)
 * Qt6QuickControls2 (required version >= 6.5.0)
 * Qt6Test (required version >= 6.5.0)
 * Qt6QuickWidgets (required version >= 6.5.0)
 * Qt6QuickTest (required version >= 6.5.0)
 * Qt6WebSockets (required version >= 6.5.0)
 * Qt6Designer (required version >= 6.5.0)
 * Gn (required version == 6.4.1), Meta-build system, <https://gn.googlesource.com/gn/>
 * GPerf, Perfect hash function generator, <https://www.gnu.org/software/gperf/>
 * BISON
 * FLEX
 * Snappy
 * GLIB2, Event loop and utility library, <https://wiki.gnome.org/Projects/GLib>
 * Ninja (required version >= 1.7.2), Build tool, <https://ninja-build.org/>
 * Nodejs (required version >= 12), JavaScript runtime environment that runs on the V8 engine, <https://nodejs.org/>
 * PkgConfig
 * PkgConfigHost
 * Qt6 (required version >= 6.5.0)

-- The following OPTIONAL packages have not been found:

 * Qt6QmlCompilerPlusPrivate
 * Qt6JpegPrivate (required version >= 6.5.0)
 * Qt6PngPrivate (required version >= 6.5.0)
 * Qt6HarfbuzzPrivate (required version >= 6.5.0)
 * Qt6FreetypePrivate (required version >= 6.5.0)
 * Qt6ZlibPrivate (required version >= 6.5.0)
 * GSSAPI, Generic Security Services Application Program Interface
 * Cups

-- Configure summary:

WebEngine Repository Build Options:
  Build Ninja ............................ no
  Build Gn ............................... no
  Jumbo Build ............................ yes
  Developer build ........................ no
  Build QtWebEngine Modules:
    Build QtWebEngineCore ................ yes
    Build QtWebEngineWidgets ............. yes
    Build QtWebEngineQuick ............... yes
  Build QtPdf Modules:
    Build QtPdfWidgets ................... yes
    Build QtPdfQuick ..................... yes
  Optional system libraries:
    webengine_system_re2 ................. yes
    webengine_system_icu ................. yes
    webengine_system_libwebp ............. yes
    webengine_system_opus ................ yes
    webengine_system_ffmpeg .............. yes
    webengine_system_libvpx .............. yes
    snappy ............................... no
    glib ................................. no
    webengine_system_zlib ................ yes
    webengine_system_minizip ............. yes
    webengine_system_libevent ............ yes
    webengine_system_libxml .............. yes
    webengine_system_lcms2 ............... yes
    webengine_system_libpng .............. yes
    webengine_system_libjpeg ............. yes
    webengine_system_harfbuzz ............ yes
    webengine_system_freetype ............ yes
    libpci ............................... no
Qt WebEngineCore:
  Embedded build ......................... no
  Full debug information ................. no
  Sanitizer support ...................... no
  Pepper Plugins ......................... yes
  Printing and PDF ....................... yes
  Proprietary Codecs ..................... yes
  Spellchecker ........................... yes
  Native Spellchecker .................... no
  WebRTC ................................. yes
  PipeWire over GIO ...................... no
  Geolocation ............................ yes
  WebChannel support ..................... yes
  Kerberos Authentication ................ yes
  Extensions ............................. yes
Qt WebEngineQuick:
  UI Delegates ........................... yes
Qt PDF:
  Support V8 ............................. no
  Support XFA ............................ no
  Support XFA-BMP ........................ no
  Support XFA-GIF ........................ no
  Support XFA-PNG ........................ no
  Support XFA-TIFF ....................... no
  Bitcode support ........................ no
  Use static runtime ..................... no

Building:

-- GN Done. Made 15387 targets from 2476 files in 65536ms
[1/281] cmd.exe /C "cd /D C:\MSYS64\home\raed\_sbox\qtwebengine-everywhere-src-6.4.1\build-CLANG64\src\core && C:\MSYS64\clang64\bin\ninja.exe -C C:/MSYS64/home/raed/_sbox/qtwebengine-everywhere-src-6.4.1/build-CLANG64/src/core/Release/AMD64 QtWebEngineCore"
ninja: Entering directory `C:/MSYS64/home/raed/_sbox/qtwebengine-everywhere-src-6.4.1/build-CLANG64/src/core/Release/AMD64'
[1/27508] STAMP obj/base/numerics/base_numerics.stamp
[2/27508] ACTION //base:build_date(//build/toolchain/win:mingw_x64)
[3/27508] STAMP obj/base/build_date.stamp
[4/27508] ACTION //base:base__jumbo_merge(//build/toolchain/win:mingw_x64)
[5/27508] STAMP obj/base/base__jumbo_merge.stamp
[6/27508] CXX obj/base/third_party/double_conversion/double_conversion/cached-powers.o
[7/27508] CXX obj/base/third_party/double_conversion/double_conversion/bignum-dtoa.o
[8/27508] CXX obj/base/third_party/double_conversion/double_conversion/fast-dtoa.o
[9/27508] CXX obj/base/third_party/double_conversion/double_conversion/fixed-dtoa.o
[10/27508] CXX obj/base/third_party/double_conversion/double_conversion/strtod.o
[11/27508] STAMP obj/build/buildflag_header_h.stamp
[12/27508] CC obj/base/third_party/dynamic_annotations/dynamic_annotations/dynamic_annotations.o
[13/27508] STAMP obj/build/config/common_deps.stamp
[14/27508] STAMP obj/build/config/executable_deps.stamp
[15/27508] AR obj/base/third_party/dynamic_annotations/libdynamic_annotations.a
[16/27508] STAMP obj/build/config/shared_library_deps.stamp
[17/27508] ACTION //build/util:chromium_git_revision(//build/toolchain/win:mingw_x64)
[18/27508] CXX obj/base/third_party/double_conversion/double_conversion/double-to-string.o
[19/27508] STAMP obj/build/win/default_exe_manifest.stamp
[20/27508] STAMP obj/build/win/runtime_libs.stamp
[21/27508] STAMP obj/build/util/chromium_git_revision.stamp
[22/27508] ACTION //base:anchor_functions_buildflags(//build/toolchain/win:mingw_x64)
[23/27508] STAMP obj/base/anchor_functions_buildflags.stamp
[24/27508] CXX obj/base/third_party/double_conversion/double_conversion/bignum.o
[25/27508] ACTION //cc:cc__jumbo_merge(//build/toolchain/win:mingw_x64)
[26/27508] ACTION //cc/animation:animation__jumbo_merge(//build/toolchain/win:mingw_x64)
[27/27508] ACTION //base:cfi_buildflags(//build/toolchain/win:mingw_x64)
[28/27508] ACTION //cc/base:base__jumbo_merge(//build/toolchain/win:mingw_x64)
[29/27508] STAMP obj/base/cfi_buildflags.stamp
[30/27508] ACTION //base:clang_profiling_buildflags(//build/toolchain/win:mingw_x64)
[31/27508] ACTION //base:debugging_buildflags(//build/toolchain/win:mingw_x64)
[32/27508] STAMP obj/base/clang_profiling_buildflags.stamp
[33/27508] STAMP obj/base/debugging_buildflags.stamp
[34/27508] ACTION //base:feature_list_buildflags(//build/toolchain/win:mingw_x64)
[35/27508] ACTION //base:ios_cronet_buildflags(//build/toolchain/win:mingw_x64)
[36/27508] STAMP obj/base/feature_list_buildflags.stamp
[37/27508] ACTION //base:orderfile_buildflags(//build/toolchain/win:mingw_x64)
[38/27508] ACTION //base:logging_buildflags(//build/toolchain/win:mingw_x64)
[39/27508] STAMP obj/base/ios_cronet_buildflags.stamp
[40/27508] STAMP obj/base/orderfile_buildflags.stamp
[41/27508] STAMP obj/base/logging_buildflags.stamp
[42/27508] ACTION //base:parsing_buildflags(//build/toolchain/win:mingw_x64)
[43/27508] ACTION //base:profiler_buildflags(//build/toolchain/win:mingw_x64)
[44/27508] STAMP obj/base/parsing_buildflags.stamp
[45/27508] ACTION //base:synchronization_buildflags(//build/toolchain/win:mingw_x64)
[46/27508] ACTION //base:sanitizer_buildflags(//build/toolchain/win:mingw_x64)
[47/27508] STAMP obj/base/profiler_buildflags.stamp
[48/27508] STAMP obj/base/sanitizer_buildflags.stamp
[49/27508] STAMP obj/base/synchronization_buildflags.stamp
[50/27508] ACTION //base:tracing_buildflags(//build/toolchain/win:mingw_x64)
[51/27508] STAMP obj/base/tracing_buildflags.stamp
[52/27508] ACTION //base/allocator:buildflags(//build/toolchain/win:mingw_x64)
[53/27508] ACTION //base/win:base_win_buildflags(//build/toolchain/win:mingw_x64)
[54/27508] STAMP obj/base/win/base_win_buildflags.stamp
[55/27508] STAMP obj/base/allocator/buildflags.stamp
[56/27508] ACTION //build:branding_buildflags(//build/toolchain/win:mingw_x64)
[57/27508] STAMP obj/build/branding_buildflags.stamp
[58/27508] ACTION //build:chromecast_buildflags(//build/toolchain/win:mingw_x64)
[59/27508] ACTION //build/config/compiler:compiler_buildflags(//build/toolchain/win:mingw_x64)
[60/27508] STAMP obj/cc/cc__jumbo_merge.stamp
[61/27508] ACTION //build:chromeos_buildflags(//build/toolchain/win:mingw_x64)
[62/27508] STAMP obj/build/chromecast_buildflags.stamp
[63/27508] STAMP obj/build/config/compiler/compiler_buildflags.stamp
[64/27508] STAMP obj/cc/animation/animation__jumbo_merge.stamp
[65/27508] STAMP obj/build/chromeos_buildflags.stamp
[66/27508] STAMP obj/cc/base/base__jumbo_merge.stamp
[67/27508] STAMP obj/base/base.inputdeps.stamp
[68/27508] ACTION //cc/mojom:mojom__type_mappings__validator(//build/toolchain/win:mingw_x64)
[69/27508] ACTION //cc/debug:debug__jumbo_merge(//build/toolchain/win:mingw_x64)
[70/27508] CXX obj/base/base_static/base_switches.o
[71/27508] STAMP obj/base/allocator/partition_allocator/partition_alloc.inputdeps.stamp
[72/27508] CXX obj/base/base_static/static_constants.o
[73/27508] CC obj/base/base/precompile.h-c.gch
[74/27508] CXX obj/base/third_party/double_conversion/double_conversion/string-to-double.o
[75/27508] CC obj/base/base/base_jumbo_c.o
[76/27508] CXX obj/base/allocator/partition_allocator/partition_alloc/allocation_guard.o
[77/27508] CXX obj/base/win/pe_image/pe_image.o
...
FAILED: obj/base/base/base_jumbo_29.o 
clang++  -MMD -MF obj/base/base/base_jumbo_29.o.d -DCOM_INIT_CHECK_HOOK_DISABLED -DUSE_AURA=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -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_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBASE_IMPLEMENTATION -I. -Igen -I../../../../../src/3rdparty/chromium -I../../../../../src/3rdparty/chromium/third_party/abseil-cpp -I../../../../../src/3rdparty/chromium/third_party/boringssl/src/include -fcf-protection=full -Wall -Wextra -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wimplicit-fallthrough -Wthread-safety -Wno-attributes -Wno-format -Wno-missing-braces -Wno-parentheses -Wno-unknown-pragmas -Wno-deprecated-builtins -Wno-macro-redefined -Wno-missing-field-initializers -Wno-unused-parameter -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wno-null-pointer-subtraction -Wenum-compare-conditional -Wno-psabi -Wno-ignored-pragma-optimize -Wno-unqualified-std-cast-call -Wno-deprecated-non-prototype -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -Wno-unknown-argument -Wno-unknown-attributes -Wno-unknown-warning-option -Wno-unknown-pragmas -fno-unwind-tables -fno-asynchronous-unwind-tables -fcolor-diagnostics -fmerge-all-constants -fcomplete-member-pointers -msse3 -no-canonical-prefixes -fomit-frame-pointer -g0 -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -Wglobal-constructors -Wexit-time-destructors -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -Wno-parentheses-equality -Wno-tautological-compare -Wno-thread-safety-attributes -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c++17 -Wno-trigraphs -fno-aligned-new -fno-exceptions -fno-rtti -include obj/base/base/precompile.h-cc -c gen/base/base_jumbo_29.cc -o obj/base/base/base_jumbo_29.o
In file included from gen/base/base_jumbo_29.cc:14:
In file included from ./../../../../../src/3rdparty/chromium/base/task/thread_pool/pooled_single_thread_task_runner_manager.cc:35:
In file included from ../../../../../src/3rdparty/chromium/base/win/scoped_com_initializer.h:13:
../../../../../src/3rdparty/chromium/base/win/com_init_balancer.h:10:10: fatal error: 'wrl/implements.h' file not found
#include <wrl/implements.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
ghost commented 1 year ago

The library missing is here:

https://learn.microsoft.com/en-us/cpp/cppcx/wrl/windows-runtime-cpp-template-library-wrl?view=msvc-170

Btw, I don't see any progress. Chromium is always a showstopper for MinGW based compilers. But, well, if you could get it working please consider having a look at Qt5's QtWebEngine too. Qt6 has dropped support for Windows 8.1 which I'm using. Thank you.

raedrizqie commented 1 year ago

here is my progress:

showstopper:

ghost commented 1 year ago

Well, ATL and MFC are real showstoppers. I think you could close this issue now.

raedrizqie commented 1 year ago

atl/mfc is not the real showstopper.. i had successfully compiled them using clang.. but can we legally packaged atl/mfc?

winrt headers are more difficult to get it supported on mingw-w64

raedrizqie commented 1 year ago

some progress:

2023-06-05T21:14:21.3611180Z [8518/27201] CXX obj/third_party/dawn/src/dawn/native/sources/ProcTable.o
2023-06-05T21:14:21.3731656Z FAILED: obj/third_party/dawn/src/dawn/native/sources/ProcTable.o 
2023-06-05T21:14:21.3747404Z clang++  -MMD -MF obj/third_party/dawn/src/dawn/native/sources/ProcTable.o.d -DDAWN_ENABLE_VULKAN_VALIDATION_LAYERS "-DDAWN_VK_DATA_DIR=\"angledata\"" -DUSE_AURA=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -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_FE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DDAWN_ENABLE_BACKEND_D3D12 -DDAWN_ENABLE_BACKEND_NULL -DDAWN_ENABLE_BACKEND_OPENGL -DDAWN_ENABLE_BACKEND_OPENGLES -DDAWN_ENABLE_BACKEND_VULKAN -DVK_USE_PLATFORM_WIN32_KHR -DTINT_BUILD_SPV_READER=1 -DTINT_BUILD_SPV_WRITER=1 -DTINT_BUILD_WGSL_READER=1 -DTINT_BUILD_WGSL_WRITER=1 -DTINT_BUILD_MSL_WRITER=1 -DTINT_BUILD_HLSL_WRITER=1 -DTINT_BUILD_GLSL_WRITER=1 -Igen -I../../../../../qtwebengine-everywhere-src-6.4.1/src/3rdparty/chromium -Igen/third_party/dawn/src -I../../../../../qtwebengine-everywhere-src-6.4.1/src/3rdparty/chromium/third_party/dawn/src -I../../../../../qtwebengine-everywhere-src-6.4.1/src/3rdparty/chromium/third_party/vulkan-deps/vulkan-tools/src -Igen/third_party/dawn/include -I../../../../../qtwebengine-everywhere-src-6.4.1/src/3rdparty/chromium/third_party/dawn/include -I../../../../../qtwebengine-everywhere-src-6.4.1/src/3rdparty/chromium/third_party/dawn/src/include -I../../../../../qtwebengine-everywhere-src-6.4.1/src/3rdparty/chromium/third_party/abseil-cpp -I../../../../../qtwebengine-everywhere-src-6.4.1/src/3rdparty/chromium/third_party/dawn/third_party/khronos -I../../../../../qtwebengine-everywhere-src-6.4.1/src/3rdparty/chromium/third_party/vulkan-deps/vulkan-headers/src/include -I../../../../../qtwebengine-everywhere-src-6.4.1/src/3rdparty/chromium/third_party/dawn -I../../../../../qtwebengine-everywhere-src-6.4.1/src/3rdparty/chromium/third_party/vulkan-deps/spirv-headers/src/include -I../../../../../qtwebengine-everywhere-src-6.4.1/src/3rdparty/chromium/third_party/vulkan-deps/spirv-tools/src -I../../../../../qtwebengine-everywhere-src-6.4.1/src/3rdparty/chromium/third_party/vulkan-deps/spirv-tools/src/include -Igen/third_party/vulkan-deps/spirv-tools/src -fcf-protection=full -Wall -Wextra -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wimplicit-fallthrough -Wthread-safety -Wno-array-parameter -Wno-attributes -Wno-deprecated-declarations -Wno-format -Wno-missing-braces -Wno-parentheses -Wno-unknown-pragmas -Wno-deprecated-builtins -Wno-macro-redefined -Wno-missing-field-initializers -Wno-unused-parameter -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wno-null-pointer-subtraction -Wenum-compare-conditional -Wno-psabi -Wno-ignored-pragma-optimize -Wno-unqualified-std-cast-call -Wno-deprecated-non-prototype -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -Wno-unknown-argument -Wno-unknown-attributes -Wno-unknown-warning-option -Wno-unknown-pragmas -fno-unwind-tables -fno-asynchronous-unwind-tables -fcolor-diagnostics -fmerge-all-constants -fcomplete-member-pointers -msse3 -no-canonical-prefixes -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fomit-frame-pointer -g0 -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-shadow -Wno-shadow -Wno-implicit-fallthrough -Wno-newline-eof -Wno-unreachable-code-break -Wno-unreachable-code-return -Wno-parentheses-equality -Wno-tautological-compare -Wno-thread-safety-attributes -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=gnu++17 -Wno-trigraphs -fno-aligned-new -fno-exceptions -fno-rtti -c gen/third_party/dawn/src/dawn/native/ProcTable.cpp -o obj/third_party/dawn/src/dawn/native/sources/ProcTable.o
2023-06-05T21:14:21.3754773Z In file included from gen/third_party/dawn/src/dawn/native/ProcTable.cpp:28:
2023-06-05T21:14:21.3755035Z 
2023-06-05T21:14:21.3755806Z In file included from ../../../../../qtwebengine-everywhere-src-6.4.1/src/3rdparty/chromium/third_party/dawn/src/dawn/native/Surface.h:27:
2023-06-05T21:14:21.3756195Z 
2023-06-05T21:14:21.3756713Z ../../../../../qtwebengine-everywhere-src-6.4.1/src/3rdparty/chromium/third_party/dawn/src/dawn/native/d3d12/d3d12_platform.h:26:10: fatal error: 'dxcapi.h' file not found
2023-06-05T21:14:21.3757159Z 
2023-06-05T21:14:21.3757325Z #include <dxcapi.h>
2023-06-05T21:14:21.3757540Z 
2023-06-05T21:14:21.3757695Z          ^~~~~~~~~~
2023-06-05T21:14:21.3757894Z 
2023-06-05T21:14:21.3758050Z 1 error generated.

it needs DirectXShaderCompiler :(