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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 6.2.0 Alpha
    • 6.0.0 Alpha, 6.0.0 Beta2, 6.1.0 Alpha, 6.1.0 RC
    • Build System: CMake
    • Tested on Ubuntu 20.04 x64

      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

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

            jbornema Joerg Bornemann
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes