Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Hiow to idetify which .pro is missing the library ?
Forum Updated to NodeBB v4.3 + New Features

Hiow to idetify which .pro is missing the library ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 295 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1

    Could somebody please help me read this compiler / linker output and identity which .pro is /are missing the libraries?
    I am missing more then one and really do not know how to actually identify which .pro is missing which one. I do have set VERBOSE=true, but cannot determine which .pro is missing the library.

    Thanks.

    PS The editor prints the error in red m but does not show in red here.

    /usr/bin/ld: cannot find -lBT_Config_Library: No such file or directory
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    nov25-1/BLUETOOTH/BT_FEB22_FEB24_WORK/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/terminal_SERIAL_BLUETOOTH_VER_1/terminal_SERIAL_BLUETOOTH/terminal_BLUETOOTH/../../../../BT_Utility_Library/ -lBT_Utility_Library /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/lib/libQt5Widgets.so /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/lib/libQt5Gui.so /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/lib/libQt5SerialPort.so /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/lib/libQt5Bluetooth.so /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/lib/libQt5Core.so -lGL -lpthread    
    /usr/bin/ld: cannot find -lBT_Config_Library: No such file or directory
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[1]: Leaving directory '/home/nov25-1/BLUETOOTH/BT_FEB22_FEB24_WORK/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/terminal_SERIAL_BLUETOOTH_VER_1/terminal_SERIAL_BLUETOOTH/terminal_BLUETOOTH'
    make[1]: *** [Makefile:351: libterminal_BLUETOOTH.so.1.0.0] Error 1
    make: *** [Makefile:256: sub-SOURCE-CCC_SOURCE-terminal_SERIAL_BLUETOOTH_VER_1-terminal_SERIAL_BLUETOOTH-terminal_BLUETOOTH-make_first] Error 2
    /usr/bin/ld: /home/nov25-1/BLUETOOTH/BT_FEB22_FEB24_WORK/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/MAIN_MDI/mainwindows/mdi/../../../BT_Config_Library//libBT_Config_Library.so: undefined reference to `QBluetoothLocalDevice::~QBluetoothLocalDevice()'
    /usr/bin/ld: /home/nov25-1/BLUETOOTH/BT_FEB22_FEB24_WORK/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/MAIN_MDI/mainwindows/mdi/../../../BT_Config_Library//libBT_Config_Library.so: undefined reference to `QBluetoothLocalDevice::QBluetoothLocalDevice(QObject*)'
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[1]: Leaving directory '/home/nov25-1/BLUETOOTH/BT_FEB22_FEB24_WORK/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/MAIN_MDI/mainwindows/mdi'
    make[1]: *** [Makefile:289: mdi] Error 1
    make: *** [Makefile:181: sub-SOURCE-CCC_SOURCE-MAIN_MDI-mainwindows-mdi-make_first] Error 2
    07:29:58: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project BLUETOOTH (kit: Desktop Qt 5.15.2 GCC 64bit)
    When executing step "Make"
    07:29:58: Elapsed time: 00:13.
    
    
    JoeCFDJ 1 Reply Last reply
    0
    • A Anonymous_Banned275

      Could somebody please help me read this compiler / linker output and identity which .pro is /are missing the libraries?
      I am missing more then one and really do not know how to actually identify which .pro is missing which one. I do have set VERBOSE=true, but cannot determine which .pro is missing the library.

      Thanks.

      PS The editor prints the error in red m but does not show in red here.

      /usr/bin/ld: cannot find -lBT_Config_Library: No such file or directory
      clang: error: linker command failed with exit code 1 (use -v to see invocation)

      nov25-1/BLUETOOTH/BT_FEB22_FEB24_WORK/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/terminal_SERIAL_BLUETOOTH_VER_1/terminal_SERIAL_BLUETOOTH/terminal_BLUETOOTH/../../../../BT_Utility_Library/ -lBT_Utility_Library /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/lib/libQt5Widgets.so /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/lib/libQt5Gui.so /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/lib/libQt5SerialPort.so /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/lib/libQt5Bluetooth.so /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/lib/libQt5Core.so -lGL -lpthread    
      /usr/bin/ld: cannot find -lBT_Config_Library: No such file or directory
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      make[1]: Leaving directory '/home/nov25-1/BLUETOOTH/BT_FEB22_FEB24_WORK/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/terminal_SERIAL_BLUETOOTH_VER_1/terminal_SERIAL_BLUETOOTH/terminal_BLUETOOTH'
      make[1]: *** [Makefile:351: libterminal_BLUETOOTH.so.1.0.0] Error 1
      make: *** [Makefile:256: sub-SOURCE-CCC_SOURCE-terminal_SERIAL_BLUETOOTH_VER_1-terminal_SERIAL_BLUETOOTH-terminal_BLUETOOTH-make_first] Error 2
      /usr/bin/ld: /home/nov25-1/BLUETOOTH/BT_FEB22_FEB24_WORK/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/MAIN_MDI/mainwindows/mdi/../../../BT_Config_Library//libBT_Config_Library.so: undefined reference to `QBluetoothLocalDevice::~QBluetoothLocalDevice()'
      /usr/bin/ld: /home/nov25-1/BLUETOOTH/BT_FEB22_FEB24_WORK/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/MAIN_MDI/mainwindows/mdi/../../../BT_Config_Library//libBT_Config_Library.so: undefined reference to `QBluetoothLocalDevice::QBluetoothLocalDevice(QObject*)'
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      make[1]: Leaving directory '/home/nov25-1/BLUETOOTH/BT_FEB22_FEB24_WORK/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/MAIN_MDI/mainwindows/mdi'
      make[1]: *** [Makefile:289: mdi] Error 1
      make: *** [Makefile:181: sub-SOURCE-CCC_SOURCE-MAIN_MDI-mainwindows-mdi-make_first] Error 2
      07:29:58: The process "/usr/bin/make" exited with code 2.
      Error while building/deploying project BLUETOOTH (kit: Desktop Qt 5.15.2 GCC 64bit)
      When executing step "Make"
      07:29:58: Elapsed time: 00:13.
      
      
      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by
      #2

      @AnneRanch use command locate to find the path of this lib
      locate BT_Config_Library
      and then add its path in the pro file with -L/path of BT_Config_Library

      A 1 Reply Last reply
      0
      • JoeCFDJ JoeCFD

        @AnneRanch use command locate to find the path of this lib
        locate BT_Config_Library
        and then add its path in the pro file with -L/path of BT_Config_Library

        A Offline
        A Offline
        Anonymous_Banned275
        wrote on last edited by
        #3

        @JoeCFD That is not the issue.
        I need to decipher the error message to identify which .pro is missing the library.

        JoeCFDJ 1 Reply Last reply
        0
        • A Anonymous_Banned275

          @JoeCFD That is not the issue.
          I need to decipher the error message to identify which .pro is missing the library.

          JoeCFDJ Offline
          JoeCFDJ Offline
          JoeCFD
          wrote on last edited by JoeCFD
          #4

          @AnneRanch in your project dir type command:
          grep -RHi lBT_Config_Library
          to find which pro files include it

          is it this dir?
          Leaving directory '/home/nov25-1/BLUETOOTH/BT_FEB22_FEB24_WORK/RECOVERY/BLUETOOTH/SOURCE/CCC_SOURCE/terminal_SERIAL_BLUETOOTH_VER_1/terminal_SERIAL_BLUETOOTH/terminal_BLUETOOTH

          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