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

win32-clang-g++: failed to build from source

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.13.0 Beta 1
    • Core: Other
    • None
    • Clang 8.0.0, MinGW-w64 x86_64-8.1.0-release-posix-seh-rt_v6-rev0
    • Windows

    Description

      I was trying to use the "win32-clang-g++" spec to build Qt on Windows, however, the compilation failed with the following error messages:

      In file included from D:\code\qt\qtbase-everywhere-src-5.13.0-beta1\src\3rdparty\libpng\png.c:14:
      In file included from D:\code\qt\qtbase-everywhere-src-5.13.0-beta1\src\3rdparty\libpng/pngpriv.h:529:
      In file included from D:\code\llvm\LLVM-8.0.0-win64\lib\clang\8.0.0\include\float.h:45:
      D:\code\mingw\mingw64\x86_64-w64-mingw32\include\float.h:28:15: fatal error: 'float.h' file not found
      #include_next <float.h>
                    ^~~~~~~~~
      cd compiler\ && ( if not exist Makefile D:\code\qt\build\bin\qmake.exe -o Makefile D:\code\qt\qtbase-everywhere-src-5.13.0-beta1\src\angle\src\compiler\compiler.pro ) && mingw32-make -f Makefile
      1 error generated.
      mingw32-make[3]: *** [Makefile.Release:175: .obj/release/png.o] Error 1
      mingw32-make[3]: Leaving directory 'D:/code/qt/build/src/3rdparty/libpng'
      mingw32-make[2]: *** [Makefile:38: release] Error 2
      mingw32-make[2]: Leaving directory 'D:/code/qt/build/src/3rdparty/libpng'
      mingw32-make[1]: *** [Makefile:527: sub-3rdparty-libpng-make_first] Error 2
      

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            wangwenx190 赵 宇航
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes