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.
Forum Updated to NodeBB v4.3 + New Features

Error 127 while debugging qgroundcontrol code.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
29 Posts 8 Posters 4.6k 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.
  • 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.

        J J 2 Replies Last reply 15 Feb 2024, 18:05
        0
        • C Chris_Adam
          15 Feb 2024, 12:32

          @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.

          J Offline
          J Offline
          JoeCFD
          wrote on 15 Feb 2024, 18:05 last edited by JoeCFD
          #21

          @Chris_Adam

          1. You did not mention your target version of Android(11,12,13 or 14).
          2. Are you sure armeabi-v7a is right choice for your Android build.
          3. if you search this forum, you will know JDK version 21 might be too high.
          C 1 Reply Last reply 16 Feb 2024, 06:00
          0
          • J JoeCFD
            15 Feb 2024, 18:05

            @Chris_Adam

            1. You did not mention your target version of Android(11,12,13 or 14).
            2. Are you sure armeabi-v7a is right choice for your Android build.
            3. if you search this forum, you will know JDK version 21 might be too high.
            C Offline
            C Offline
            Chris_Adam
            wrote on 16 Feb 2024, 06:00 last edited by Chris_Adam
            #22

            @JoeCFD Thank you for reply
            I have modified the configuration, and I am now using the following dependencies. However, I am still encountering the same error.

            target version of Android : 10.0
            SDK: 10.0
            NDK: 23.1.7779620
            JDK: jdk-11.0.22.7-hotspot
            cmdline-tools : 10.0
            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: arm64-v8a

            4.PNG 2.PNG 1.PNG

            1 Reply Last reply
            0
            • I Offline
              I Offline
              InsideFPV
              wrote on 18 Feb 2025, 06:44 last edited by
              #23

              make: *** [Makefile:4607: arm64-v8a/qrc_qgroundcontrol_qmlcache.obj] Error 127

              i am getting this error please any have solution please ping me

              J 1 Reply Last reply 18 Feb 2025, 06:45
              0
              • I InsideFPV
                18 Feb 2025, 06:44

                make: *** [Makefile:4607: arm64-v8a/qrc_qgroundcontrol_qmlcache.obj] Error 127

                i am getting this error please any have solution please ping me

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 18 Feb 2025, 06:45 last edited by
                #24

                @InsideFPV said in Error 127 while debugging qgroundcontrol code.:

                i am getting this error please any have solution please ping me

                Please first post the actual error. What you posted is not that (look above that line for the error).

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

                I 1 Reply Last reply 18 Feb 2025, 07:07
                0
                • C Chris_Adam
                  15 Feb 2024, 12:32

                  @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.

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 18 Feb 2025, 06:47 last edited by
                  #25

                  @Chris_Adam said in Error 127 while debugging qgroundcontrol code.:

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

                  The path to the compiler here is wrong. Please show your compiler configuration.

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

                  1 Reply Last reply
                  0
                  • J jsulm
                    18 Feb 2025, 06:45

                    @InsideFPV said in Error 127 while debugging qgroundcontrol code.:

                    i am getting this error please any have solution please ping me

                    Please first post the actual error. What you posted is not that (look above that line for the error).

                    I Offline
                    I Offline
                    InsideFPV
                    wrote on 18 Feb 2025, 07:07 last edited by InsideFPV
                    #26

                    @jsulm : this is actual error where i am build the project of the Qgroundcontrol for android [Makefile:4607: arm64-v8a/qrc_qgroundcontrol_qmlcache.obj] Error 127Capture1.PNG Capture2.PNG Capture3.PNG Capture4.PNG Capture5.PNG

                    J 1 Reply Last reply 18 Feb 2025, 07:31
                    0
                    • I InsideFPV
                      18 Feb 2025, 07:07

                      @jsulm : this is actual error where i am build the project of the Qgroundcontrol for android [Makefile:4607: arm64-v8a/qrc_qgroundcontrol_qmlcache.obj] Error 127Capture1.PNG Capture2.PNG Capture3.PNG Capture4.PNG Capture5.PNG

                      J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 18 Feb 2025, 07:31 last edited by
                      #27

                      @InsideFPV said in Error 127 while debugging qgroundcontrol code.:

                      this is actual error

                      No, it's not. Go to "Compile Output" tab to see the actual error.

                      Again: "/usr/bin/sh: line 1: C:UsersChris.LAppDataLocalAndroidSdkndk23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++: No such file or directory" - this path is wrong.
                      I suggested you check the compiler configuration - did you do that?

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

                      I 1 Reply Last reply 18 Feb 2025, 07:39
                      0
                      • J jsulm
                        18 Feb 2025, 07:31

                        @InsideFPV said in Error 127 while debugging qgroundcontrol code.:

                        this is actual error

                        No, it's not. Go to "Compile Output" tab to see the actual error.

                        Again: "/usr/bin/sh: line 1: C:UsersChris.LAppDataLocalAndroidSdkndk23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++: No such file or directory" - this path is wrong.
                        I suggested you check the compiler configuration - did you do that?

                        I Offline
                        I Offline
                        InsideFPV
                        wrote on 18 Feb 2025, 07:39 last edited by
                        #28

                        @jsulm /usr/bin/sh: line 1: C:UsersSoftwareAppDataLocalAndroidSdkndk21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++: No such file or directory
                        make: *** [Makefile:4607: arm64-v8a/qrc_qgroundcontrol_qmlcache.obj] Error 127
                        12:06:05: The process "C:\Users\Software\AppData\Local\Android\Sdk\ndk\21.3.6528147\prebuilt\windows-x86_64\bin\make.exe" exited with code 2.
                        12:06:05: Error while building/deploying project qgroundcontrol (kit: Android Qt 5.15.2 Clang Multi-Abi)
                        12:06:05: When executing step "Make"
                        Capture6.PNG

                        i am not understand about compiler configuration please more explain about this

                        J 1 Reply Last reply 18 Feb 2025, 07:56
                        0
                        • I InsideFPV
                          18 Feb 2025, 07:39

                          @jsulm /usr/bin/sh: line 1: C:UsersSoftwareAppDataLocalAndroidSdkndk21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++: No such file or directory
                          make: *** [Makefile:4607: arm64-v8a/qrc_qgroundcontrol_qmlcache.obj] Error 127
                          12:06:05: The process "C:\Users\Software\AppData\Local\Android\Sdk\ndk\21.3.6528147\prebuilt\windows-x86_64\bin\make.exe" exited with code 2.
                          12:06:05: Error while building/deploying project qgroundcontrol (kit: Android Qt 5.15.2 Clang Multi-Abi)
                          12:06:05: When executing step "Make"
                          Capture6.PNG

                          i am not understand about compiler configuration please more explain about this

                          J Offline
                          J Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on 18 Feb 2025, 07:56 last edited by
                          #29

                          @InsideFPV said in Error 127 while debugging qgroundcontrol code.:

                          i am not understand about compiler configuration please more explain about this

                          Simply click on the Compiler tab in Kit configuration page in settings (next to "Qt Versions"), select your compiler for Android and check the path to the compiler there...
                          As you can see from the error message the compiler cannot be found and if you look at the used path it is clearly wrong (slashes are missing).

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

                          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