How to change makefile ?
-
I have experienced yet another OS failure.
I have a working OS backup and can successfully load my project.However, the makefike still "points" to the original OS and its QT.
I am getting these errors and warning and it wont compile.:-1: warning: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory
:-1: error: [Makefile:532: Makefile] Error 127How do I safely remove the above warning and error ?
07:54:00: Running steps for project FT857_CAT_Bluetooth_May7... 07:54:00: Configuration unchanged, skipping qmake step. 07:54:00: Starting: "/usr/bin/make" -j4 cd ../CCC_SOURCE/Aug2017_Bluetooth_QT/ && ( test -e Makefile.Bluetooth || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile.Bluetooth /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Aug2017_Bluetooth_QT/Bluetooth.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile.Bluetooth cd ../CCC_SOURCE/BLUETOOTH_LIBRARY/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BLUETOOTH_LIBRARY/BLUETOOTH_LIBRARY.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile cd ../CCC_SOURCE/BT_Configuration/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Configuration/BT_Configuration.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile cd ../CCC_SOURCE/BT_Utility_Library/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Utility_Library/BT_Utility_Library.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Configuration' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Configuration' cd ../CCC_SOURCE/Bluetoothctl/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Bluetoothctl/Bluetoothctl.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Utility_Library' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Utility_Library' cd ../CCC_SOURCE/C_CODE_FORM/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_FORM/C_CODE_FORM.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Aug2017_Bluetooth_QT' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Aug2017_Bluetooth_QT' cd ../CCC_SOURCE/C_CODE_ORIGINAL/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_ORIGINAL/C_CODE_ORIGINAL.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BLUETOOTH_LIBRARY' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BLUETOOTH_LIBRARY' cd ../CCC_SOURCE/FT857_PROJECT_NOTES/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/FT857_PROJECT_NOTES/FT857_PROJECT_NOTES.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Bluetoothctl' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Bluetoothctl' cd ../CCC_SOURCE/SOURCE_SERIAL_TERMINAL/terminal_Bluetooth_MDI/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/SOURCE_SERIAL_TERMINAL/terminal_Bluetooth_MDI/terminal_Bluetooth_MDI.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_FORM' /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake -o Makefile C_CODE_FORM.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug make[1]: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory make[1]: *** [Makefile:532: Makefile] Error 127 make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_FORM' make: *** [Makefile:188: sub----CCC_SOURCE-C_CODE_FORM-make_first] Error 2 make: *** Waiting for unfinished jobs.... make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/FT857_PROJECT_NOTES' /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake -o Makefile FT857_PROJECT_NOTES.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug **make[1]: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory make[1]: *** [Makefile:505: Makefile] Error 127** make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/FT857_PROJECT_NOTES' make: *** [Makefile:238: sub----CCC_SOURCE-FT857_PROJECT_NOTES-make_first] Error 2 make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_ORIGINAL' /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake -o Makefile C_CODE_ORIGINAL.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug make[1]: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory make[1]: *** [Makefile:517: Makefile] Error 127 make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_ORIGINAL' make: *** [Makefile:213: sub----CCC_SOURCE-C_CODE_ORIGINAL-make_first] Error 2 make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/SOURCE_SERIAL_TERMINAL/terminal_Bluetooth_MDI' /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake -o Makefile terminal_Bluetooth_MDI.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug make[1]: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory make[1]: *** [Makefile:551: Makefile] Error 127 make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/SOURCE_SERIAL_TERMINAL/terminal_Bluetooth_MDI' make: *** [Makefile:263: sub----CCC_SOURCE-SOURCE_SERIAL_TERMINAL-terminal_Bluetooth_MDI-make_first] Error 2 07:54:02: The process "/usr/bin/make" exited with code 2. Error while building/deploying project FT857_CAT_Bluetooth_May7 (kit: Desktop Qt 5.15.2 GCC 64bit) When executing step "Make" 07:54:02: Elapsed time: 00:02.
-
I have experienced yet another OS failure.
I have a working OS backup and can successfully load my project.However, the makefike still "points" to the original OS and its QT.
I am getting these errors and warning and it wont compile.:-1: warning: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory
:-1: error: [Makefile:532: Makefile] Error 127How do I safely remove the above warning and error ?
07:54:00: Running steps for project FT857_CAT_Bluetooth_May7... 07:54:00: Configuration unchanged, skipping qmake step. 07:54:00: Starting: "/usr/bin/make" -j4 cd ../CCC_SOURCE/Aug2017_Bluetooth_QT/ && ( test -e Makefile.Bluetooth || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile.Bluetooth /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Aug2017_Bluetooth_QT/Bluetooth.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile.Bluetooth cd ../CCC_SOURCE/BLUETOOTH_LIBRARY/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BLUETOOTH_LIBRARY/BLUETOOTH_LIBRARY.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile cd ../CCC_SOURCE/BT_Configuration/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Configuration/BT_Configuration.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile cd ../CCC_SOURCE/BT_Utility_Library/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Utility_Library/BT_Utility_Library.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Configuration' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Configuration' cd ../CCC_SOURCE/Bluetoothctl/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Bluetoothctl/Bluetoothctl.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Utility_Library' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Utility_Library' cd ../CCC_SOURCE/C_CODE_FORM/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_FORM/C_CODE_FORM.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Aug2017_Bluetooth_QT' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Aug2017_Bluetooth_QT' cd ../CCC_SOURCE/C_CODE_ORIGINAL/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_ORIGINAL/C_CODE_ORIGINAL.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BLUETOOTH_LIBRARY' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BLUETOOTH_LIBRARY' cd ../CCC_SOURCE/FT857_PROJECT_NOTES/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/FT857_PROJECT_NOTES/FT857_PROJECT_NOTES.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Bluetoothctl' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Bluetoothctl' cd ../CCC_SOURCE/SOURCE_SERIAL_TERMINAL/terminal_Bluetooth_MDI/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/SOURCE_SERIAL_TERMINAL/terminal_Bluetooth_MDI/terminal_Bluetooth_MDI.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_FORM' /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake -o Makefile C_CODE_FORM.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug make[1]: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory make[1]: *** [Makefile:532: Makefile] Error 127 make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_FORM' make: *** [Makefile:188: sub----CCC_SOURCE-C_CODE_FORM-make_first] Error 2 make: *** Waiting for unfinished jobs.... make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/FT857_PROJECT_NOTES' /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake -o Makefile FT857_PROJECT_NOTES.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug **make[1]: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory make[1]: *** [Makefile:505: Makefile] Error 127** make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/FT857_PROJECT_NOTES' make: *** [Makefile:238: sub----CCC_SOURCE-FT857_PROJECT_NOTES-make_first] Error 2 make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_ORIGINAL' /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake -o Makefile C_CODE_ORIGINAL.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug make[1]: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory make[1]: *** [Makefile:517: Makefile] Error 127 make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_ORIGINAL' make: *** [Makefile:213: sub----CCC_SOURCE-C_CODE_ORIGINAL-make_first] Error 2 make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/SOURCE_SERIAL_TERMINAL/terminal_Bluetooth_MDI' /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake -o Makefile terminal_Bluetooth_MDI.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug make[1]: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory make[1]: *** [Makefile:551: Makefile] Error 127 make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/SOURCE_SERIAL_TERMINAL/terminal_Bluetooth_MDI' make: *** [Makefile:263: sub----CCC_SOURCE-SOURCE_SERIAL_TERMINAL-terminal_Bluetooth_MDI-make_first] Error 2 07:54:02: The process "/usr/bin/make" exited with code 2. Error while building/deploying project FT857_CAT_Bluetooth_May7 (kit: Desktop Qt 5.15.2 GCC 64bit) When executing step "Make" 07:54:02: Elapsed time: 00:02.
@AnneRanch
- for qmake build with pro file
do make distclean to remove all make files and rerun .
qmake -o Makefile path/project.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug CONFIG+=force_debug_info CONFIG+=separate_debug_info - for cmake build,
remove everything in the build dir and rerun cmake ..
- for qmake build with pro file
-
@AnneRanch
- for qmake build with pro file
do make distclean to remove all make files and rerun .
qmake -o Makefile path/project.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug CONFIG+=force_debug_info CONFIG+=separate_debug_info - for cmake build,
remove everything in the build dir and rerun cmake ..
@JoeCFD Thanks. will do.
- for qmake build with pro file