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

Example not compiling due '/usr/bin/ld: cannot find -lpnp_basictools'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0 Alpha, 6.0.0 Beta2
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:
    • Environment:
      Tested on Ubuntu 20.04 x64

      Description

      Example not compiling:

      /Examples/Qt-6.0.0/widgets/tools/plugandpaint/app

      Build fails with:

      [ 14%] Automatic MOC and UIC for target plugandpaint
      [ 14%] Built target plugandpaint_autogen
      [ 28%] Linking CXX executable plugandpaint
      /usr/bin/ld: cannot find -lpnp_basictools
      /usr/bin/ld: cannot find -lpnp_basictools
      /usr/bin/ld: cannot find -lpnp_basictools
      collect2: error: ld returned 1 exit status
      make[2]: *** [CMakeFiles/plugandpaint.dir/build.make:168: plugandpaint] Error 1
      make[1]: *** [CMakeFiles/Makefile2:96: CMakeFiles/plugandpaint.dir/all] Error 2
      make: *** [Makefile:149: all] Error 2
      

      SHA1: ca02358af27b458739cba29086ff6ad19196d431

        Attachments

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

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes