Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. "Project ERROR: Library 'assimp' is not defined" when building Qt 5.15.6

"Project ERROR: Library 'assimp' is not defined" when building Qt 5.15.6

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 551 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Creaperdown
    wrote on 29 Oct 2022, 18:23 last edited by
    #1

    Hey, when building Qt 5.15.5 I am getting this error:

    cd assimp/ && ( test -e Makefile || /home/creapermann/Programming/qt-5.15.6/qtbase/bin/qmake -o Makefile /home/creapermann/Programming/qt-5.15.6/qtquick3d/src/plugins/assetimporters/assimp/assimp.pro ) && make -f Makefile install
    Project ERROR: Library 'assimp' is not defined.
    make[4]: *** [Makefile:85: sub-assimp-install_subtargets] Error 3
    make[4]: Leaving directory '/home/creapermann/Programming/qt-5.15.6/qtquick3d/src/plugins/assetimporters'
    make[3]: *** [Makefile:59: sub-assetimporters-install_subtargets] Error 2
    make[3]: Leaving directory '/home/creapermann/Programming/qt-5.15.6/qtquick3d/src/plugins'
    make[2]: *** [Makefile:206: sub-plugins-install_subtargets-ordered] Error 2
    make[2]: Leaving directory '/home/creapermann/Programming/qt-5.15.6/qtquick3d/src'
    make[1]: *** [Makefile:62: sub-src-install_subtargets] Error 2
    make[1]: Leaving directory '/home/creapermann/Programming/qt-5.15.6/qtquick3d'
    make: *** [Makefile:377: module-qtquick3d-install_subtargets] Error 2
    

    Does anyone have an idea why?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Paul Colby
      wrote on 30 Oct 2022, 01:20 last edited by
      #2

      Hi @Creaperdown,

      Looks like you might have run into QTBUG-84037?

      My read of that bug report is that it happens when using some particular versions of libassimp. Seems it was fixed in a later versions of that library, but the workaround (if you can't get a more recent libassimp version) is to tweak the assimp.pro file. Have a read, and see if that makes sense / works for you.

      Cheers.

      C 1 Reply Last reply 30 Oct 2022, 10:11
      1
      • P Paul Colby
        30 Oct 2022, 01:20

        Hi @Creaperdown,

        Looks like you might have run into QTBUG-84037?

        My read of that bug report is that it happens when using some particular versions of libassimp. Seems it was fixed in a later versions of that library, but the workaround (if you can't get a more recent libassimp version) is to tweak the assimp.pro file. Have a read, and see if that makes sense / works for you.

        Cheers.

        C Offline
        C Offline
        Creaperdown
        wrote on 30 Oct 2022, 10:11 last edited by
        #3

        @Paul-Colby Thanks, this works!

        1 Reply Last reply
        0

        2/3

        30 Oct 2022, 01:20

        • Login

        • Login or register to search.
        2 out of 3
        • First post
          2/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved