Building from Source Qt 5.15.2 fails
-
Hi all,
I am facing this issue while building qt.[3035/29113] ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DSK_CPU_SSE_LEVEL=41 -DUSE_AURA=1 -DOFFICIAL_BUILD -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 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP "-DSK_USER_CONFIG_HEADER="../../skia/config/SkUserConfig.h"" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_SUPPORT_GPU=1 "-DSK_GPU_WORKAROUNDS_HEADER="gpu/config/gpu_driver_bug_workaround_autogen.h"" -DGR_GL_FUNCTION_TYPE=__stdcall "-DSK_FREETYPE_MINIMUM_RUNTIME_VERSION=(((FREETYPE_MAJOR) * 0x01000000) | ((FREETYPE_MINOR) * 0x00010000) | ((FREETYPE_PATCH) * 0x00000100))" -DSKIA_IMPLEMENTATION=1 -DSK_GAMMA_SRGB -DSK_GAMMA_CONTRAST=0.5 -DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DSK_DEFAULT_FONT_CACHE_COUNT_LIMIT=256 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -Igen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/skia -I../../3rdparty/chromium/third_party/libgifcodec /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /MD /O2 /Ob2 /Oy- /Zc:inline /Gw /wd4244 /wd4267 /wd4341 /wd4345 /wd4390 /wd4554 /wd4748 /wd4800 /wd5041 /W3 /wd4800 /wd4267 /wd4996 /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 /std:c++17 /wd5041 /TP /GR- /std:c++17 /wd4577 /c ../../3rdparty/chromium/third_party/skia/src/opts/SkOpts_sse41.cpp /Foobj/skia/skia_opts_sse41/SkOpts_sse41.obj /Fd"obj/skia/skia_opts_sse41_cc.pdb"
ninja: build stopped: subcommand failed.
NMAKE : fatal error U1077: 'call' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '(' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.I have used this bat file for configuration
CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat" amd64
set "CMAKE_ROOT=C:\Program Files\CMake\bin"
set "NINJA_ROOT=D:\ninja"
set "PERL_ROOT=C:\Strawberry\perl\bin"set PATH=%CMAKE_ROOT%;%PATH%
set PATH=%NINJA_ROOT%;%PATH%
set PATH=%PERL_ROOT%;%PATH%
set PATH=C:\Python27;%PATH%
set "MY_INSTALL_PATH=D:\qt-build"
set CL=/MPconfigure.bat -prefix %MY_INSTALL_PATH% -release -platform win32-msvc -nomake examples -nomake tests -opensource -confirm-license ^
-opengl es2 -I "C:\Program Files\OpenSSL-Win64\include" -L "C:\Program Files\OpenSSL-Win64\lib"Any help is deeply appreciated.
-
Hi and welcome to devnet,
Sorry, I don't know why it is failing however, unless you actually need the QtWebEngine module, just don't build it.
It is a time and space consuming module to build especially if you don't use it.
-
Hi and welcome to devnet,
Sorry, I don't know why it is failing however, unless you actually need the QtWebEngine module, just don't build it.
It is a time and space consuming module to build especially if you don't use it.
@SGaist
Hi, Thanks for your message. Unfortunately, I need to build QtWebEngine and the source package which I have taken is from this location https://download.qt.io/archive/qt/5.15/5.15.2/single/.
If you have any batch file which is available for configuring and building Qt 5.15.2 , please do share, I can give a try -
Hi, Is there any update here? This is actually a blocker for me. Please consider this as a priority. Thanks
-
Hi, Is there any update here? This is actually a blocker for me. Please consider this as a priority. Thanks
@N-Saidharshana said in Building from Source Qt 5.15.2 fails:
Please consider this as a priority.
This a voluntary user forum.
I don't doubt that this may be a QtWebEngine issue, but actually I do not see what the error is in the output pasted. We see
ninja: build stopped: subcommand failed.
But we do not actually see what caused that and what the error message was? -
Hi , Thanks for your response. Is it possible for you to have a small sync up to discuss about the issue.
FYI: I am working in IST time zone -
Hi , Thanks for your response. Is it possible for you to have a small sync up to discuss about the issue.
FYI: I am working in IST time zone@N-Saidharshana
Did you see where I wroteThis a voluntary user forum.
above? Experts here are not going to "sync up" with you. If you want paid support contact The Qt Company.
-
@N-Saidharshana
Did you see where I wroteThis a voluntary user forum.
above? Experts here are not going to "sync up" with you. If you want paid support contact The Qt Company.
@JonB said in Building from Source Qt 5.15.2 fails:
If you want paid support contact The Qt Company.
To clarify @JonB's point, see https://www.qt.io/qt-support/