Closed raedrizqie closed 1 year ago
The library missing is here:
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.
here is my progress:
showstopper:
missing some wrl headers
In file included from gen/base/base_jumbo_43.cc:7:
In file included from ./../../../../../src/3rdparty/chromium/base/win/enum_variant.cc:5:
../../../../../src/3rdparty/chromium/base/win/enum_variant.h:8:10: fatal error: 'wrl/implements.h' file not found
#include <wrl/implements.h>
requires atl/mfc libs and headers
In file included from gen/base/base_jumbo_41.cc:17:
In file included from ./../../../../../src/3rdparty/chromium/base/win/atl_throw.cc:5:
../../../../../src/3rdparty/chromium/base/win/atl_throw.h:35:10: fatal error: 'atldef.h' file not found
#include <atldef.h>
In file included from gen/base/base_jumbo_38.cc:8:
./../../../../../src/3rdparty/chromium/base/files/file_util_win.cc:799:61: error: use of undeclared identifier '_SH_DENYNO'
return _wfsopen(filename.value().c_str(), w_mode.c_str(), _SH_DENYNO);
^
In file included from gen/base/base_jumbo_38.cc:9:
./../../../../../src/3rdparty/chromium/base/files/file_win.cc:330:10: error: use of undeclared identifier 'ERROR_DISK_RESOURCES_EXHAUSTED'
case ERROR_DISK_RESOURCES_EXHAUSTED:
Well, ATL and MFC are real showstoppers. I think you could close this issue now.
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
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 :(
Configured with:
Configure summary:
Building: