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

Qt 5.15.2 can not be build with MSVC 2017 (maybe with other MSVC as well)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.15.2
    • Build System
    • None
    • Windows 10 professional 64 bit
    • Windows

    Description

      I'm trying to build Qt 5.15.2 from sources under Windows 10 using MSVC 2017 compiler.
      After running configure script and nmake release, the build process stops after a while with the given message:

      cl -c -FIglobal\qt_pch.h -Yuglobal\qt_pch.h -Fp.pch\release\Qt5Core_pch.pch -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MD -std:c++17 -utf-8 -EHsc -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DNDEBUG -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 -DPCRE2_STATIC -D_WINDLL -I. -I..\3rdparty\zlib\src -Iglobal -I..\3rdparty\md5 -I..\3rdparty\md4 -I..\3rdparty\sha3 -I..\3rdparty -I..\3rdparty\double-conversion\include -I..\3rdparty\harfbuzz\src -I..\3rdparty\tinycbor\src -I.rcc\release -I..\..\include -I..\..\include\QtCore -I..\..\include\QtCore\5.15.2 -I..\..\include\QtCore\5.15.2\QtCore -Itmp -I.moc\release -I.tracegen\release -I..\3rdparty\pcre2\src -I..\..\mkspecs\win32-msvc -Fo.obj\release\ @C:\Users\dhdam\AppData\Local\Temp\nmC4D1.tmp
      bignum.cc
      bignum-dtoa.cc
      cached-powers.cc
      diy-fp.cc
      double-conversion.cc
      ..\3rdparty\double-conversion\double-conversion.cc(32): fatal error C1083: Cannot open include file: 'double-conversion/double-conversion.h': No such file or directory
      fast-dtoa.cc
      fixed-dtoa.cc
      strtod.cc
      Generating Code...
      NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio\2017\WDExpress\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.EXE"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio\2017\WDExpress\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\nmake.exe"' : return code '0x2'

      After looking through sources, I've figured out that double-conversion.h file is not present anywhere. So Qt cannot be build.

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            ars.masiuk Ars Masiuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes