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

qtquick3d build failed on WebAssembly on win10

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.14.0 Alpha
    • Fix Version/s: 5.14.0 Alpha
    • Component/s: Quick: 3D
    • Labels:
      None
    • Platform/s:
      WebAssembly
    • Commits:
      bb02e1392caacb5dd58658e6b1ba543a663e3115 (qt/qtquick3d/5.14)

      Description

      https://codereview.qt-project.org/c/qt/qt5/+/270489 Add webAssembly build for windows again

      https://testresults.qt.io/coin/integration/qt/qt5/tasks/1567195399

      https://testresults.qt.io/coin/api/results/qt/qtquick3d/7e70e3f2a753dee94a12b58a7918701b937274a7/WindowsWindows_10x86_64LinuxWebAssemblyx86_64Mingw73qtci-windows-10-x86_64-14-35021bDisableTests/760aaa905714cc07d4ef5eadf3399e7c3dacbdee/build_1567197416/log.txt.gz

      agent:2019/08/30 21:12:53 build.go:215: em++ -c -O3 -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -s ALLOW_MEMORY_GROWTH=1 -Wall -Wextra -Wdate-time -Winconsistent-missing-override -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_BUILD_QUICK3D_LIB -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QUICK3D_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_QUICK3DRUNTIMERENDER_LIB -DQT_QUICK3DASSETIMPORT_LIB -DQT_QUICK3DRENDER_LIB -DQT_QUICK3DUTILS_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I..\..\include -I..\..\include\QtQuick3D -I..\..\include\QtQuick3D\5.14.0 -I..\..\include\QtQuick3D\5.14.0\QtQuick3D -I..\..\include\QtQuick3DRuntimeRender\5.14.0 -I..\..\include\QtQuick3DRuntimeRender\5.14.0\QtQuick3DRuntimeRender -I..\..\include\QtQuick3DAssetImport\5.14.0 -I..\..\include\QtQuick3DAssetImport\5.14.0\QtQuick3DAssetImport -I..\..\include\QtQuick3DRender\5.14.0 -I..\..\include\QtQuick3DRender\5.14.0\QtQuick3DRender -I..\..\include\QtQuick3DUtils\5.14.0 -I..\..\include\QtQuick3DUtils\5.14.0\QtQuick3DUtils -I..\..\include\QtQuick3DRuntimeRender -I..\..\include\QtQuick3DAssetImport -I..\..\include\QtQuick3DRender -I..\..\include\QtQuick3DUtils -Ic:\Users\qt\work\install\include\QtQuick\5.14.0 -Ic:\Users\qt\work\install\include\QtQuick\5.14.0\QtQuick -Ic:\Users\qt\work\install\include\QtGui\5.14.0 -Ic:\Users\qt\work\install\include\QtGui\5.14.0\QtGui -Ic:\Users\qt\work\install\include\QtQmlModels\5.14.0 -Ic:\Users\qt\work\install\include\QtQmlModels\5.14.0\QtQmlModels -Ic:\Users\qt\work\install\include\QtQml\5.14.0 -Ic:\Users\qt\work\install\include\QtQml\5.14.0\QtQml -Ic:\Users\qt\work\install\include\QtCore\5.14.0 -Ic:\Users\qt\work\install\include\QtCore\5.14.0\QtCore -Ic:\Users\qt\work\install\include -Ic:\Users\qt\work\install\include\QtOpenGLExtensions -Ic:\Users\qt\work\install\include\QtQuick -Ic:\Users\qt\work\install\include\QtGui -Ic:\Users\qt\work\install\include\QtQmlModels -Ic:\Users\qt\work\install\include\QtQml -Ic:\Users\qt\work\install\include\QtNetwork -Ic:\Users\qt\work\install\include\QtCore -I.moc -Ic:\Users\qt\work\install\mkspecs\wasm-emscripten -o .obj\qquick3deffect.obj qquick3deffect.cpp
      agent:2019/08/30 21:12:55 build.go:215: In file included from qquick3dcamera.cpp:37:
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:51:27: error: no template named 'enable_if_t' in namespace 'std'; did you mean 'enable_if'?
      agent:2019/08/30 21:12:55 build.go:215: template<typename T, std::enable_if_t<!std::is_floating_point<T>::value, int> = 0>
      agent:2019/08/30 21:12:55 build.go:215:                      ~~~~~^~~~~~~~~~~
      agent:2019/08/30 21:12:55 build.go:215:                           enable_if
      agent:2019/08/30 21:12:55 build.go:215: C:\Utils\emsdk\emscripten-1.38.27\system\include\libcxx\type_traits:435:63: note: 'enable_if' declared here
      agent:2019/08/30 21:12:55 build.go:215: template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
      agent:2019/08/30 21:12:55 build.go:215:                                                               ^
      agent:2019/08/30 21:12:55 build.go:215: In file included from qquick3dcamera.cpp:37:
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:61:28: error: no template named 'enable_if_t' in namespace 'std'; did you mean 'enable_if'?
      agent:2019/08/30 21:12:55 build.go:215: template <typename T, std::enable_if_t<std::is_floating_point<T>::value, int> = 0>
      agent:2019/08/30 21:12:55 build.go:215:                       ~~~~~^~~~~~~~~~~
      agent:2019/08/30 21:12:55 build.go:215:                            enable_if
      agent:2019/08/30 21:12:55 build.go:215: C:\Utils\emsdk\emscripten-1.38.27\system\include\libcxx\type_traits:435:63: note: 'enable_if' declared here
      agent:2019/08/30 21:12:55 build.go:215: template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
      agent:2019/08/30 21:12:55 build.go:215:                                                               ^
      agent:2019/08/30 21:12:55 build.go:215: qquick3dcamera.cpp:541:16: error: no matching function for call to 'qUpdateIfNeeded'
      agent:2019/08/30 21:12:55 build.go:215:     changed |= qUpdateIfNeeded(camera->clipNear, m_clipNear);
      agent:2019/08/30 21:12:55 build.go:215:                ^~~~~~~~~~~~~~~
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:52:6: note: candidate template ignored: substitution failure [with T = float]: a non-type template parameter cannot have type 'std::enable_if<!std::is_floating_point<float>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:62:6: note: candidate template ignored: substitution failure [with T = float]: a non-type template parameter cannot have type 'std::enable_if<std::is_floating_point<float>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: qquick3dcamera.cpp:542:16: error: no matching function for call to 'qUpdateIfNeeded'
      agent:2019/08/30 21:12:55 build.go:215:     changed |= qUpdateIfNeeded(camera->clipFar, m_clipFar);
      agent:2019/08/30 21:12:55 build.go:215:                ^~~~~~~~~~~~~~~
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:52:6: note: candidate template ignored: substitution failure [with T = float]: a non-type template parameter cannot have type 'std::enable_if<!std::is_floating_point<float>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:62:6: note: candidate template ignored: substitution failure [with T = float]: a non-type template parameter cannot have type 'std::enable_if<std::is_floating_point<float>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: qquick3dcamera.cpp:543:16: error: no matching function for call to 'qUpdateIfNeeded'
      agent:2019/08/30 21:12:55 build.go:215:     changed |= qUpdateIfNeeded(camera->fov, qDegreesToRadians(m_fieldOfView));
      agent:2019/08/30 21:12:55 build.go:215:                ^~~~~~~~~~~~~~~
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:52:6: note: candidate template ignored: substitution failure [with T = float]: a non-type template parameter cannot have type 'std::enable_if<!std::is_floating_point<float>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:62:6: note: candidate template ignored: substitution failure [with T = float]: a non-type template parameter cannot have type 'std::enable_if<std::is_floating_point<float>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: qquick3dcamera.cpp:544:16: error: no matching function for call to 'qUpdateIfNeeded'
      agent:2019/08/30 21:12:55 build.go:215:     changed |= qUpdateIfNeeded(camera->fovHorizontal, m_isFieldOfViewHorizontal);
      agent:2019/08/30 21:12:55 build.go:215:                ^~~~~~~~~~~~~~~
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:52:6: note: candidate template ignored: substitution failure [with T = bool]: a non-type template parameter cannot have type 'std::enable_if<!std::is_floating_point<bool>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:62:6: note: candidate template ignored: substitution failure [with T = bool]: a non-type template parameter cannot have type 'std::enable_if<std::is_floating_point<bool>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: qquick3dcamera.cpp:545:16: error: no matching function for call to 'qUpdateIfNeeded'
      agent:2019/08/30 21:12:55 build.go:215:     changed |= qUpdateIfNeeded(camera->enableFrustumClipping, m_enableFrustumCulling);
      agent:2019/08/30 21:12:55 build.go:215:                ^~~~~~~~~~~~~~~
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:52:6: note: candidate template ignored: substitution failure [with T = bool]: a non-type template parameter cannot have type 'std::enable_if<!std::is_floating_point<bool>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:62:6: note: candidate template ignored: substitution failure [with T = bool]: a non-type template parameter cannot have type 'std::enable_if<std::is_floating_point<bool>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: qquick3dcamera.cpp:552:20: error: no matching function for call to 'qUpdateIfNeeded'
      agent:2019/08/30 21:12:55 build.go:215:         changed |= qUpdateIfNeeded(camera->top, m_frustumTop);
      agent:2019/08/30 21:12:55 build.go:215:                    ^~~~~~~~~~~~~~~
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:52:6: note: candidate template ignored: substitution failure [with T = float]: a non-type template parameter cannot have type 'std::enable_if<!std::is_floating_point<float>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:62:6: note: candidate template ignored: substitution failure [with T = float]: a non-type template parameter cannot have type 'std::enable_if<std::is_floating_point<float>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: qquick3dcamera.cpp:553:20: error: no matching function for call to 'qUpdateIfNeeded'
      agent:2019/08/30 21:12:55 build.go:215:         changed |= qUpdateIfNeeded(camera->bottom, m_frustumBottom);
      agent:2019/08/30 21:12:55 build.go:215:                    ^~~~~~~~~~~~~~~
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:52:6: note: candidate template ignored: substitution failure [with T = float]: a non-type template parameter cannot have type 'std::enable_if<!std::is_floating_point<float>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:62:6: note: candidate template ignored: substitution failure [with T = float]: a non-type template parameter cannot have type 'std::enable_if<std::is_floating_point<float>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: qquick3dcamera.cpp:554:20: error: no matching function for call to 'qUpdateIfNeeded'
      agent:2019/08/30 21:12:55 build.go:215:         changed |= qUpdateIfNeeded(camera->right, m_frustumRight);
      agent:2019/08/30 21:12:55 build.go:215:                    ^~~~~~~~~~~~~~~
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:52:6: note: candidate template ignored: substitution failure [with T = float]: a non-type template parameter cannot have type 'std::enable_if<!std::is_floating_point<float>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:62:6: note: candidate template ignored: substitution failure [with T = float]: a non-type template parameter cannot have type 'std::enable_if<std::is_floating_point<float>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: qquick3dcamera.cpp:555:20: error: no matching function for call to 'qUpdateIfNeeded'
      agent:2019/08/30 21:12:55 build.go:215:         changed |= qUpdateIfNeeded(camera->left, m_frustumLeft);
      agent:2019/08/30 21:12:55 build.go:215:                    ^~~~~~~~~~~~~~~
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:52:6: note: candidate template ignored: substitution failure [with T = float]: a non-type template parameter cannot have type 'std::enable_if<!std::is_floating_point<float>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:62:6: note: candidate template ignored: substitution failure [with T = float]: a non-type template parameter cannot have type 'std::enable_if<std::is_floating_point<float>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: qquick3dcamera.cpp:558:20: error: no matching function for call to 'qUpdateIfNeeded'
      agent:2019/08/30 21:12:55 build.go:215:         changed |= qUpdateIfNeeded(camera->projection, m_customProjection);
      agent:2019/08/30 21:12:55 build.go:215:                    ^~~~~~~~~~~~~~~
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:52:6: note: candidate template ignored: substitution failure [with T = QMatrix4x4]: a non-type template parameter cannot have type 'std::enable_if<!std::is_floating_point<QMatrix4x4>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: ./qquick3dutils_p.h:62:6: note: candidate template ignored: substitution failure [with T = QMatrix4x4]: a non-type template parameter cannot have type 'std::enable_if<std::is_floating_point<QMatrix4x4>::value, int>'
      agent:2019/08/30 21:12:55 build.go:215: bool qUpdateIfNeeded(T &orig, T updated)
      agent:2019/08/30 21:12:55 build.go:215:      ^
      agent:2019/08/30 21:12:55 build.go:215: 12 errors generated.
      agent:2019/08/30 21:12:55 build.go:215: shared:ERROR: compiler frontend failed to generate LLVM bitcode, halting
      agent:2019/08/30 21:12:55 build.go:215: Mingw32-make[2]: *** [Makefile:2969: .obj\qquick3dcamera.obj] Error 1
      agent:2019/08/30 21:12:55 build.go:215: Mingw32-make[2]: *** Waiting for unfinished jobs....
      agent:2019/08/30 21:12:59 build.go:215: Mingw32-make[2]: Leaving directory 'C:/Users/qt/work/qt/qtquick3d/src/quick3d'
      agent:2019/08/30 21:12:59 build.go:215: Mingw32-make[1]: *** [Makefile:268: sub-quick3d-make_first-ordered] Error 2
      agent:2019/08/30 21:12:59 build.go:215: Mingw32-make[1]: Leaving directory 'C:/Users/qt/work/qt/qtquick3d/src'
      agent:2019/08/30 21:12:59 build.go:215: Mingw32-make: *** [Makefile:50: sub-src-make_first] Error 2
      

        Attachments

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

          Activity

            People

            Assignee:
            manordheim MÃ¥rten Nordheim
            Reporter:
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes