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

CMake Build Fails with "Some targets in this export were already defined" when using system assimp draco

    XMLWordPrintable

Details

    • Linux/X11
    • 94cc48a0f (dev), 4deb2aa3a (6.5), ae4ddd8ce (6.6)

    Description

      I installed the dependencies from here: https://doc.qt.io/qt-6/linux-requirements.html
      I followed the build instructions here: https://wiki.qt.io/Building_Qt_6_from_Git (also tried here: https://doc.qt.io/qt-6/linux-building.html)

      I'm on the dev branch, commit c58560db14dab0911ec36bfc3dd8e39789294183 from //code.qt.io/qt/qt5.git

      I get this error when I run `../qt6/configure -prefix /path/to/install` when the instructions tell me:

      CMake Error at /usr/lib/x86_64-linux-gnu/cmake/draco/draco-targets.cmake:37 (message):
        Some (but not all) targets in this export set were already defined.
      
        Targets Defined: draco_shared
      
        Targets not yet defined: draco_static
      
      Call Stack (most recent call first):
        /usr/lib/x86_64-linux-gnu/cmake/draco/draco-config.cmake:36 (include)
        /usr/lib/x86_64-linux-gnu/cmake/assimp-5.2/assimpConfig.cmake:37 (find_package)
        qtquick3d/cmake/FindWrapQuick3DAssimp.cmake:10 (find_package)
        qtbase/cmake/QtFindPackageHelpers.cmake:133 (find_package)
        qtquick3d/src/plugins/assetimporters/configure.cmake:16 (qt_find_package)
        qtquick3d/src/plugins/assetimporters/CMakeLists.txt:12 (include)
      

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              jrpear Jack Pearson
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes