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. ld: error: unable to find library -lpnp_basictools
Forum Updated to NodeBB v4.3 + New Features

ld: error: unable to find library -lpnp_basictools

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 1 Posters 1.0k Views 1 Watching
  • 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.
  • _ Offline
    _ Offline
    _2020_
    wrote on last edited by
    #1

    Hello,
    I am following the instructions to build Qt for Android (Qt 5.15.2) on a Windows 10 PC (see https://doc.qt.io/qt-5/android-building.html).

    I configured the project successfully and ran "mingw32-make.exe -j" to build the project. After several hours of building, it failed with the following initial error message:

    ld: error: unable to find library -lpnp_basictools
    clang++; error: linker command failed with exit code 1 (use -v to see invocation)
    mingw32-make.exe[7]: *** [Makefile.Armeabi-v7a:129: ..\libplugandpaint_armeabi-v7a.so] Error 1
    .
    .
    .
    

    Here is the full error message:
    -lpnp_basictools library missing.png

    I obtained the source code using the online installer application, but it does not have any fie named, "libplugandpaint_armeabi-v7a.so". Where might I obtain this file, and where would I need to save it? It appears there are other files missing as well:

    • libplugandpaint_arm64-v8a.so
    • libplugandpaint_x86.so
    • libplugandpaint_x86_64.so

    Any help to find a work-around for this fatal build error is most appreciated.

    1 Reply Last reply
    0
    • _ Offline
      _ Offline
      _2020_
      wrote on last edited by
      #2

      I installed LLVM and added an environment variable called, "LLVM_INSTALL_DIR" with location '<path>\LLVM\bin directory ". Then I added this variable to the path variable, reconfigured and rebuilt the project. Problem solved.

      1 Reply Last reply
      0

      • Login

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