Hiow to idetify which .pro is missing the library ?
-
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.
-
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.
-
@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@JoeCFD That is not the issue.
I need to decipher the error message to identify which .pro is missing the library. -
@JoeCFD That is not the issue.
I need to decipher the error message to identify which .pro is missing the library.@AnneRanch in your project dir type command:
grep -RHi lBT_Config_Library
to find which pro files include itis 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