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

[FTBFS] qt3d/src/render/jobs/abstractpickingjob.cpp:110:33: error: cannot convert ‘const Matrix4x4’ {aka ‘const Qt3DCore::Matrix4x4_SSE’} to ‘const Qt3DCore::Matrix4x4_AVX2&’

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.3
    • Fix Version/s: None
    • Component/s: Qt3D
    • Labels:
      None

      Description

      CMake:

      -DCMAKE_CXX_FLAGS='-O3 -g1 -march=skylake-avx512 -maes -mno-rdseed'
      -DCMAKE_C_FLAGS='-O3 -g1 -march=skylake-avx512 -maes -mno-rdseed'
      -DCMAKE_SHARED_LINKER_FLAGS='-Wl,-O1 -Wl,--as-needed'
      

      Build output:

      /home/tjmaciei/bin/g++ -DBUILD_QT3D_MODULE -DQT_3DCORE_LIB -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_3DRENDER_LIB -DQT_CFLAGS_SSE2 -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_OPENGL_LIB -DQT_USE_QSTRINGBUILDER -D_3DRender_EXPORTS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Iqt3d/src/render/3DRender_autogen/include -Iqtbase/include -Iqtbase/include/Qt3DRender -I/home/tjmaciei/src/qt/qt6-release/qt3d/src/render -Iqt3d/src/render -I/home/tjmaciei/src/qt/qt6-release/qt3d/src/render/backend -I/home/tjmaciei/src/qt/qt6-release/qt3d/src/render/framegraph -I/home/tjmaciei/src/qt/qt6-release/qt3d/src/render/frontend -I/home/tjmaciei/src/qt/qt6-release/qt3d/src/render/geometry -I/home/tjmaciei/src/qt/qt6-release/qt3d/src/render/io -I/home/tjmaciei/src/qt/qt6-release/qt3d/src/render/jobs -I/home/tjmaciei/src/qt/qt6-release/qt3d/src/render/lights -I/home/tjmaciei/src/qt/qt6-release/qt3d/src/render/materialsystem -I/home/tjmaciei/src/qt/qt6-release/qt3d/src/render/picking -I/home/tjmaciei/src/qt/qt6-release/qt3d/src/render/raycasting -I/home/tjmaciei/src/qt/qt6-release/qt3d/src/render/renderstates -I/home/tjmaciei/src/qt/qt6-release/qt3d/src/render/services -I/home/tjmaciei/src/qt/qt6-release/qt3d/src/render/shadergraph -I/home/tjmaciei/src/qt/qt6-release/qt3d/src/render/surfaces -I/home/tjmaciei/src/qt/qt6-release/qt3d/src/render/texture -Iqtbase/include/Qt3DRender/6.2.0 -Iqtbase/include/Qt3DRender/6.2.0/Qt3DRender -Iqtbase/include/Qt3DCore -Iqtbase/include/QtCore -I/home/tjmaciei/src/qt/qt6-release/qtbase/mkspecs/linux-g++-optimised -Iqtbase/include/QtGui -Iqtbase/include/QtNetwork -Iqtbase/include/QtOpenGL -Iqtbase/include/QtConcurrent -Iqtbase/src/corelib -Iqtbase/include/QtCore/6.2.0 -Iqtbase/include/QtCore/6.2.0/QtCore -Iqt3d/src/core -Iqtbase/include/Qt3DCore/6.2.0 -Iqtbase/include/Qt3DCore/6.2.0/Qt3DCore -Iqtbase/src/gui -Iqtbase/include/QtGui/6.2.0 -Iqtbase/include/QtGui/6.2.0/QtGui -O3 -g1 -march=skylake-avx512 -maes -mno-rdseed -g -DNDEBUG -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -msse2 -std=c++17 -MD -MT qt3d/src/render/CMakeFiles/3DRender.dir/jobs/abstractpickingjob.cpp.o -MF qt3d/src/render/CMakeFiles/3DRender.dir/jobs/abstractpickingjob.cpp.o.d -o qt3d/src/render/CMakeFiles/3DRender.dir/jobs/abstractpickingjob.cpp.o -c /home/tjmaciei/src/qt/qt6-release/qt3d/src/render/jobs/abstractpickingjob.cpp
      /home/tjmaciei/src/qt/qt6-release/qt3d/src/render/jobs/abstractpickingjob.cpp: In static member function ‘static Qt3DRender::RayCasting::QRay3D Qt3DRender::Render::AbstractPickingJob::intersectionRay(const QPoint&, const Matrix4x4&, const Matrix4x4&, const QRect&)’:
      /home/tjmaciei/src/qt/qt6-release/qt3d/src/render/jobs/abstractpickingjob.cpp:110:33: error: cannot convert ‘const Matrix4x4’ {aka ‘const Qt3DCore::Matrix4x4_SSE’} to ‘const Qt3DCore::Matrix4x4_AVX2&’
        110 |     nearPos = nearPos.unproject(viewMatrix, projectionMatrix, viewport);
            |                                 ^~~~~~~~~~
            |                                 |
            |                                 const Matrix4x4 {aka const Qt3DCore::Matrix4x4_SSE}
      

        Attachments

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

          Activity

            People

            Assignee:
            seanharmer Sean Harmer
            Reporter:
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes