Build qt 5.15
Solved
Installation and Deployment
-
Hello. I am trying to build qt 5.15.0 for x32. But I get an error when building qtwebengine. What could be the problem?
FAILED: obj/third_party/angle/translator/SymbolTable_autogen.obj ninja -t msvc -e environment.x86 -- "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.32.31326\bin\HostX64\x86/cl.exe" /nologo /showIncludes -DANGLE_ENABLE_ESSL -DANGLE_ENABLE_GLSL -DANGLE_ENABLE_HLSL -DANGLE_ENABLE_VULKAN -DUSE_AURA=1 -DTOOLKIT_QT -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_RS2 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DANGLE_IS_32_BIT_CPU -I../../../../../qtwebengine/src/3rdparty/chromium/third_party/angle/include -I../../../../../qtwebengine/src/3rdparty/chromium/third_party/angle/src -I../../../../../qtwebengine/src/3rdparty/chromium/third_party/angle/include -I../../../../../qtwebengine/src/3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../../../../qtwebengine/src/3rdparty/chromium/third_party/angle/include /wd4718 /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /wd4117 /D__DATE__= /D__TIME__= /D__TIMESTAMP__= /W4 /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 /wd4267 /Od /Ob0 /GF /Zi /MDd /we4244 /we4456 /we4458 /we4715 /we4800 /we4838 /TP /wd4577 /GR- /c ../../../../../qtwebengine/src/3rdparty/chromium/third_party/angle/src/compiler/translator/SymbolTable_autogen.cpp /Foobj/third_party/angle/translator/SymbolTable_autogen.obj /Fd"obj/third_party/angle/translator_cc.pdb" E:\dev\qt5\qtwebengine\src\3rdparty\chromium\third_party\angle\src\compiler/translator/StaticType.h(156): fatal error C1001: Internal compiler error. (compiler file 'msc1.cpp', line 1693) To work around this problem, try simplifying or changing the program near the locations listed above. If possible please provide a repro here: https://developercommunity.visualstudio.com Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information E:\dev\qt5\qtwebengine\src\3rdparty\chromium\third_party\angle\src\compiler/translator/StaticType.h(108): note: while evaluating constexpr function 'sh::StaticType::Helpers::BuildStaticArrayMangledName' E:\dev\qt5\qtwebengine\src\3rdparty\chromium\third_party\angle\src\compiler/translator/StaticType.h(156): note: see reference to variable template 'const sh::StaticType::Helpers::StaticArrayMangledName kMangledNameArrayInstance<3,0,1,2,1,&sh::StaticType::kArraySize4,1>' being compiled E:\dev\qt5\qtwebengine\src\3rdparty\chromium\third_party\angle\src\compiler/translator/StaticType.h(203): note: see reference to variable template 'const sh::TType arrayInstance<3,0,1,2,1,&sh::StaticType::kArraySize4,1>' being compiled ../../../../../qtwebengine/src/3rdparty/chromium/third_party/angle/src/compiler/translator/SymbolTable_autogen.cpp(3318): note: see reference to function template instantiation 'const sh::TType *sh::StaticType::GetArray4<sh::EbtInt,sh::EbpUndefined,sh::EvqGlobal,2,1>(void)' being compiled INTERNAL COMPILER ERROR in 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.32.31326\bin\HostX64\x86\cl.exe' Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information
-
@continue98 said in Build qt 5.15:
\14.32.31326
Upgrade your compiler, it has a bug
See also e.g. https://github.com/microsoft/vcpkg/issues/24704 -
@Christian-Ehrlicher thk this work!
-
Then please mark this topic as solved, thx.