Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Error 127 while debugging qgroundcontrol code.

Error 127 while debugging qgroundcontrol code.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
29 Posts 8 Posters 3.7k Views
  • 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.
  • B Offline
    B Offline
    Burak Karslioglu
    wrote on 29 Jul 2022, 08:52 last edited by
    #1

    hello everyone, i'm very new here and quite unfamiliar with these topics. I got the qgroundcontrol code from github and when trying to build I am getting an error. I'm leaving the error message below. Please I would be very grateful if you could help.

    11:45:07: The process "C:\Qt\5.15.2\android\bin\qmake.exe" exited normally.
    11:45:07: Starting: "C:\Users\ahmet\AppData\Local\Android\Sdk\ndk\24.0.8215888\prebuilt\windows-x86_64\bin\make.exe" -f C:/Users/ahmet/OneDrive/qgroundcontrol/build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Debug/Makefile qmake_all
    make: Nothing to be done for 'qmake_all'.
    11:45:07: The process "C:\Users\ahmet\AppData\Local\Android\Sdk\ndk\24.0.8215888\prebuilt\windows-x86_64\bin\make.exe" exited normally.
    11:45:07: Starting: "C:\Users\ahmet\AppData\Local\Android\Sdk\ndk\24.0.8215888\prebuilt\windows-x86_64\bin\make.exe" -j16
    C:/Users/ahmet/AppData/Local/Android/Sdk/ndk/24.0.8215888/prebuilt/windows-x86_64/bin/make.exe -f Makefile.Armeabi-v7a all
    C:/Users/ahmet/AppData/Local/Android/Sdk/ndk/24.0.8215888/prebuilt/windows-x86_64/bin/make.exe -f Makefile.Arm64-v8a all
    make[1]: Entering directory 'C:/Users/ahmet/OneDrive/qgroundcontrol/build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Debug'
    make[1]: Entering directory 'C:/Users/ahmet/OneDrive/qgroundcontrol/build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Debug'
    rcc C:/Users/ahmet/OneDrive/qgroundcontrol/qgroundcontrol.qrc
    rcc C:/Users/ahmet/OneDrive/qgroundcontrol/qgroundcontrol.qrc
    /usr/bin/bash: C:UsersahmetAppDataLocalAndroidSdkndk24.0.8215888/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++: No such file or directory
    /usr/bin/bash: C:UsersahmetAppDataLocalAndroidSdkndk24.0.8215888/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++: No such file or directory
    make[1]: Leaving directory 'C:/Users/ahmet/OneDrive/qgroundcontrol/build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Debug'
    make[1]: *** [Makefile.Armeabi-v7a:2404: armeabi-v7a/qrc_qgroundcontrol.obj] Error 127
    make: *** [Makefile:46: armeabi-v7a-all] Error 2
    make: *** Waiting for unfinished jobs....
    make[1]: *** [Makefile.Arm64-v8a:2404: arm64-v8a/qrc_qgroundcontrol.obj] Error 127
    make[1]: Leaving directory 'C:/Users/ahmet/OneDrive/qgroundcontrol/build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Debug'
    make: *** [Makefile:60: arm64-v8a-all] Error 2
    11:45:10: The process "C:\Users\ahmet\AppData\Local\Android\Sdk\ndk\24.0.8215888\prebuilt\windows-x86_64\bin\make.exe" exited with code 2.
    Error while building/deploying project qgroundcontrol (kit: Android Qt 5.15.2 Clang Multi-Abi)
    When executing step "Make"
    11:45:10: Elapsed time: 00:24.
    

    I can add any information if you want.

    J 1 Reply Last reply 29 Jul 2022, 09:06
    0
    • B Burak Karslioglu
      29 Jul 2022, 08:52

      hello everyone, i'm very new here and quite unfamiliar with these topics. I got the qgroundcontrol code from github and when trying to build I am getting an error. I'm leaving the error message below. Please I would be very grateful if you could help.

      11:45:07: The process "C:\Qt\5.15.2\android\bin\qmake.exe" exited normally.
      11:45:07: Starting: "C:\Users\ahmet\AppData\Local\Android\Sdk\ndk\24.0.8215888\prebuilt\windows-x86_64\bin\make.exe" -f C:/Users/ahmet/OneDrive/qgroundcontrol/build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Debug/Makefile qmake_all
      make: Nothing to be done for 'qmake_all'.
      11:45:07: The process "C:\Users\ahmet\AppData\Local\Android\Sdk\ndk\24.0.8215888\prebuilt\windows-x86_64\bin\make.exe" exited normally.
      11:45:07: Starting: "C:\Users\ahmet\AppData\Local\Android\Sdk\ndk\24.0.8215888\prebuilt\windows-x86_64\bin\make.exe" -j16
      C:/Users/ahmet/AppData/Local/Android/Sdk/ndk/24.0.8215888/prebuilt/windows-x86_64/bin/make.exe -f Makefile.Armeabi-v7a all
      C:/Users/ahmet/AppData/Local/Android/Sdk/ndk/24.0.8215888/prebuilt/windows-x86_64/bin/make.exe -f Makefile.Arm64-v8a all
      make[1]: Entering directory 'C:/Users/ahmet/OneDrive/qgroundcontrol/build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Debug'
      make[1]: Entering directory 'C:/Users/ahmet/OneDrive/qgroundcontrol/build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Debug'
      rcc C:/Users/ahmet/OneDrive/qgroundcontrol/qgroundcontrol.qrc
      rcc C:/Users/ahmet/OneDrive/qgroundcontrol/qgroundcontrol.qrc
      /usr/bin/bash: C:UsersahmetAppDataLocalAndroidSdkndk24.0.8215888/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++: No such file or directory
      /usr/bin/bash: C:UsersahmetAppDataLocalAndroidSdkndk24.0.8215888/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++: No such file or directory
      make[1]: Leaving directory 'C:/Users/ahmet/OneDrive/qgroundcontrol/build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Debug'
      make[1]: *** [Makefile.Armeabi-v7a:2404: armeabi-v7a/qrc_qgroundcontrol.obj] Error 127
      make: *** [Makefile:46: armeabi-v7a-all] Error 2
      make: *** Waiting for unfinished jobs....
      make[1]: *** [Makefile.Arm64-v8a:2404: arm64-v8a/qrc_qgroundcontrol.obj] Error 127
      make[1]: Leaving directory 'C:/Users/ahmet/OneDrive/qgroundcontrol/build-qgroundcontrol-Android_Qt_5_15_2_Clang_Multi_Abi-Debug'
      make: *** [Makefile:60: arm64-v8a-all] Error 2
      11:45:10: The process "C:\Users\ahmet\AppData\Local\Android\Sdk\ndk\24.0.8215888\prebuilt\windows-x86_64\bin\make.exe" exited with code 2.
      Error while building/deploying project qgroundcontrol (kit: Android Qt 5.15.2 Clang Multi-Abi)
      When executing step "Make"
      11:45:10: Elapsed time: 00:24.
      

      I can add any information if you want.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 29 Jul 2022, 09:06 last edited by
      #2

      @Burak-Karslioglu said in Error 127 while debugging qgroundcontrol code.:

      C:UsersahmetAppDataLocalAndroidSdkndk24.0.8215888/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++

      This is an invalid path.
      How did you configure your Kit for Android?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      B 1 Reply Last reply 29 Jul 2022, 09:29
      1
      • J jsulm
        29 Jul 2022, 09:06

        @Burak-Karslioglu said in Error 127 while debugging qgroundcontrol code.:

        C:UsersahmetAppDataLocalAndroidSdkndk24.0.8215888/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++

        This is an invalid path.
        How did you configure your Kit for Android?

        B Offline
        B Offline
        Burak Karslioglu
        wrote on 29 Jul 2022, 09:29 last edited by Burak Karslioglu
        #3

        @jsulm

        The kit I chose when installing is available. Android Qt 5.15.2 Clang Multi-AbiEkran görüntüsü 2022-07-29 122952.png

        J 1 Reply Last reply 29 Jul 2022, 11:09
        0
        • B Burak Karslioglu
          29 Jul 2022, 09:29

          @jsulm

          The kit I chose when installing is available. Android Qt 5.15.2 Clang Multi-AbiEkran görüntüsü 2022-07-29 122952.png

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 29 Jul 2022, 11:09 last edited by
          #4

          @Burak-Karslioglu Can you show the "Compilers" tab?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          B 1 Reply Last reply 29 Jul 2022, 12:11
          0
          • J jsulm
            29 Jul 2022, 11:09

            @Burak-Karslioglu Can you show the "Compilers" tab?

            B Offline
            B Offline
            Burak Karslioglu
            wrote on 29 Jul 2022, 12:11 last edited by
            #5

            @jsulm
            Ekran görüntüsü 2022-07-29 122952.png

            J 1 Reply Last reply 29 Jul 2022, 12:12
            0
            • B Burak Karslioglu
              29 Jul 2022, 12:11

              @jsulm
              Ekran görüntüsü 2022-07-29 122952.png

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 29 Jul 2022, 12:12 last edited by
              #6

              @Burak-Karslioglu Looks good. Please select the compiler which is set in your Android Kit and post its configuration. We need to find out why this invalid path is used: C:UsersahmetAppDataLocalAndroidSdkndk24.0.8215888/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              B 1 Reply Last reply 29 Jul 2022, 12:21
              0
              • J jsulm
                29 Jul 2022, 12:12

                @Burak-Karslioglu Looks good. Please select the compiler which is set in your Android Kit and post its configuration. We need to find out why this invalid path is used: C:UsersahmetAppDataLocalAndroidSdkndk24.0.8215888/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++

                B Offline
                B Offline
                Burak Karslioglu
                wrote on 29 Jul 2022, 12:21 last edited by Burak Karslioglu
                #7

                @jsulm
                I am getting such an error when ı build. Is there a method where I can show this invalid path myself. or which way should i pointEkran görüntüsü 2022-07-29 122952.png

                J 1 Reply Last reply 29 Jul 2022, 12:23
                0
                • B Burak Karslioglu
                  29 Jul 2022, 12:21

                  @jsulm
                  I am getting such an error when ı build. Is there a method where I can show this invalid path myself. or which way should i pointEkran görüntüsü 2022-07-29 122952.png

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 29 Jul 2022, 12:23 last edited by
                  #8

                  @Burak-Karslioglu You can set the build folder in your project configuration. This is done by QtCreator automatically, not sure why you get this error: did you set the build folder by yourself?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    Burak Karslioglu
                    wrote on 29 Jul 2022, 12:32 last edited by
                    #9

                    No, I'm not knowledgeable enough to arrange anything myself. As I said, I am inexperienced in this matter. QtCreator did everything automatically itself. And now I can't build. I would be glad if you help.

                    J 1 Reply Last reply 29 Jul 2022, 12:36
                    0
                    • B Burak Karslioglu
                      29 Jul 2022, 12:32

                      No, I'm not knowledgeable enough to arrange anything myself. As I said, I am inexperienced in this matter. QtCreator did everything automatically itself. And now I can't build. I would be glad if you help.

                      J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 29 Jul 2022, 12:36 last edited by jsulm
                      #10

                      @Burak-Karslioglu I don't think this warning is the actual issue you have. Al already men tioned before: the path to the compiler is invalid and I asked you to post the configuration of that compiler.

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      B 1 Reply Last reply 29 Jul 2022, 12:45
                      0
                      • J jsulm
                        29 Jul 2022, 12:36

                        @Burak-Karslioglu I don't think this warning is the actual issue you have. Al already men tioned before: the path to the compiler is invalid and I asked you to post the configuration of that compiler.

                        B Offline
                        B Offline
                        Burak Karslioglu
                        wrote on 29 Jul 2022, 12:45 last edited by
                        #11

                        @jsulm
                        Ekran görüntüsü 2022-07-29 154043.png
                        Where can I find the configuration of the compiler you mentioned?

                        J 1 Reply Last reply 29 Jul 2022, 12:50
                        0
                        • B Burak Karslioglu
                          29 Jul 2022, 12:45

                          @jsulm
                          Ekran görüntüsü 2022-07-29 154043.png
                          Where can I find the configuration of the compiler you mentioned?

                          J Offline
                          J Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on 29 Jul 2022, 12:50 last edited by
                          #12

                          @Burak-Karslioglu said in Error 127 while debugging qgroundcontrol code.:

                          Where can I find the configuration of the compiler you mentioned?

                          You already found it. Just select the C++ compiler which is set in your Kit (you selected C compiler).

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • B Offline
                            B Offline
                            Burak Karslioglu
                            wrote on 29 Jul 2022, 12:55 last edited by
                            #13

                            Ekran görüntüsü 2022-07-29 154043.png

                            J 1 Reply Last reply 29 Jul 2022, 13:05
                            0
                            • B Burak Karslioglu
                              29 Jul 2022, 12:55

                              Ekran görüntüsü 2022-07-29 154043.png

                              J Offline
                              J Offline
                              jsulm
                              Lifetime Qt Champion
                              wrote on 29 Jul 2022, 13:05 last edited by
                              #14

                              @Burak-Karslioglu Looks good. I don't know why C:UsersahmetAppDataLocalAndroidSdkndk24.0.8215888/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ is being called during the build...

                              https://forum.qt.io/topic/113070/qt-code-of-conduct

                              B 1 Reply Last reply 29 Jul 2022, 13:13
                              0
                              • J jsulm
                                29 Jul 2022, 13:05

                                @Burak-Karslioglu Looks good. I don't know why C:UsersahmetAppDataLocalAndroidSdkndk24.0.8215888/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ is being called during the build...

                                B Offline
                                B Offline
                                Burak Karslioglu
                                wrote on 29 Jul 2022, 13:13 last edited by
                                #15

                                @jsulm
                                I couldn't find any information about it on the web. why Qt Creator writes the path wrong. ım stuck this step.

                                1 Reply Last reply
                                0
                                • D Offline
                                  D Offline
                                  Daniel Rush
                                  wrote on 6 Sept 2022, 09:11 last edited by
                                  #16

                                  Hi,
                                  Do you add something code like below in pro file?

                                  exists (./.git) {
                                  GIT_BRANCH = $$system(git rev-parse --abbrev-ref HEAD)
                                  GIT_TIME = $$system(git show --oneline --format="%ci%H" -s HEAD)
                                  APP_VERSION = "$${GIT_BRANCH}: $${GIT_TIME}"
                                  } else {
                                  APP_VERSION = None
                                  }

                                  DEFINES += APP_VERSION="\"$$APP_VERSION\""

                                  I found that remove these code could compile successful by Android Qt Clang compiler.

                                  1 Reply Last reply
                                  0
                                  • R Offline
                                    R Offline
                                    RamananAR
                                    wrote on 23 Nov 2022, 15:42 last edited by
                                    #17

                                    did you find any solution Please share me I am also in the same problem

                                    Thank you

                                    V 1 Reply Last reply 8 Aug 2023, 19:24
                                    0
                                    • R RamananAR
                                      23 Nov 2022, 15:42

                                      did you find any solution Please share me I am also in the same problem

                                      Thank you

                                      V Offline
                                      V Offline
                                      vcd123
                                      wrote on 8 Aug 2023, 19:24 last edited by vcd123 8 Aug 2023, 19:26
                                      #18

                                      @RamananAR @jsulm @Burak-Karslioglu Same issue here, any idea?
                                      24c6781d-ef53-40d4-a521-46180ec0ecd7-image.png
                                      bc85e105-0c23-4fb3-8c97-1b72087bb00a-image.png

                                      J 1 Reply Last reply 9 Aug 2023, 05:16
                                      0
                                      • V vcd123
                                        8 Aug 2023, 19:24

                                        @RamananAR @jsulm @Burak-Karslioglu Same issue here, any idea?
                                        24c6781d-ef53-40d4-a521-46180ec0ecd7-image.png
                                        bc85e105-0c23-4fb3-8c97-1b72087bb00a-image.png

                                        J Offline
                                        J Offline
                                        jsulm
                                        Lifetime Qt Champion
                                        wrote on 9 Aug 2023, 05:16 last edited by
                                        #19

                                        @vcd123 What is the exact error you get (see above "Error 127")?

                                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                                        1 Reply Last reply
                                        1
                                        • C Offline
                                          C Offline
                                          Chris_Adam
                                          wrote on 15 Feb 2024, 12:32 last edited by
                                          #20

                                          @Burak-Karslioglu @Daniel-Rush @jsulm @RamananAR @vcd123
                                          I am also facing same issue, I am attempting to develop an application for both the Windows and Android platforms. The Windows build is functioning correctly; however, when I attempt to build it for Android, I encounter the following error:

                                          "/usr/bin/sh: line 1: C:UsersChris.LAppDataLocalAndroidSdkndk23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++: No such file or directory"

                                          I have use following dependencies

                                          SDK: 12.0
                                          NDK: 23.1.7779620 (r23b)
                                          JDK: 21
                                          QGCS: 4.2.6 / 4.2.8
                                          Qt: 5.15.2
                                          Configuration: Android Multi ABI
                                          Compilers: Android Clang (C, arm, NDK 23.1.7779620) and Android Clang (C++, arm, NDK 23.1.7779620)
                                          Platform Linker Flag: -target arm-linux-androideabi
                                          Build Device: Desktop
                                          ABIs: armeabi-v7a

                                          08:18:51: Starting: “C:\Users\Chris.L\AppData\Local\Android\Sdk\ndk\23.1.7779620\prebuilt\windows-x86_64\bin\make.exe” -j4
                                          rcc D:/Projects/AewaGCS4.2.8/qgroundcontrol/qgroundcontrol.qrc
                                          /usr/bin/sh: line 1: C:UsersChris.LAppDataLocalAndroidSdkndk23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++: No such file or directory
                                          rcc D:/Projects/AewaGCS4.2.8/qgroundcontrol/qgcresources.qrc
                                          make: *** [Makefile:2413: armeabi-v7a/qrc_qgroundcontrol.obj] Error 127
                                          make: *** Waiting for unfinished jobs…
                                          /usr/bin/sh: line 1: C:UsersChris.LAppDataLocalAndroidSdkndk23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++: No such file or directory
                                          make: *** [Makefile:2504: armeabi-v7a/qrc_qgcresources.obj] Error 127
                                          08:18:52: The process “C:\Users\Chris.L\AppData\Local\Android\Sdk\ndk\23.1.7779620\prebuilt\windows-x86_64\bin\make.exe” exited with code 2.
                                          Error while building/deploying project qgroundcontrol (kit: Android Qt 5.15.2 Clang Multi-Abi)
                                          When executing step “Make”
                                          08:18:52: Elapsed time: 00:13.

                                          JoeCFDJ J 2 Replies Last reply 15 Feb 2024, 18:05
                                          0

                                          • Login

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