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. Android Source Build Error Qground Control
Forum Updated to NodeBB v4.3 + New Features

Android Source Build Error Qground Control

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
12 Posts 2 Posters 1.3k Views 2 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 Offline
    R Offline
    RamananAR
    wrote on 3 Oct 2022, 18:54 last edited by
    #1

    Hi Everyone,
    I been customizing QGC(http://qgroundcontrol.com/)
    When i try to compile the android build am facing this issue
    (error: [Makefile:2410: armeabi-v7a/qrc_qgroundcontrol.obj] Error 127
    )
    if you need any details i can provide you
    Thanks in advance

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 3 Oct 2022, 19:07 last edited by
      #2

      Hi and welcome to devnet,

      Yes, there's a lot more details that you need to provide.
      What is missing the messages around that error that gives the exact issue.
      If you are doing a parallel build, then please restart it with a single thread to see exactly where it is failing.
      Which version of Qt are you using ?
      Which version of Android are you targeting ?
      Which OS are you using to cross-compile your application ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      R 1 Reply Last reply 17 Nov 2022, 11:36
      0
      • S SGaist
        3 Oct 2022, 19:07

        Hi and welcome to devnet,

        Yes, there's a lot more details that you need to provide.
        What is missing the messages around that error that gives the exact issue.
        If you are doing a parallel build, then please restart it with a single thread to see exactly where it is failing.
        Which version of Qt are you using ?
        Which version of Android are you targeting ?
        Which OS are you using to cross-compile your application ?

        R Offline
        R Offline
        RamananAR
        wrote on 17 Nov 2022, 11:36 last edited by
        #3

        @SGaist

        Thanks for your reply,

        Which version of Qt are you using ?
        Qt 5.12
        Which version of Android are you targeting ?
        9,10
        Which OS are you using to cross-compile your application ?
        Windows 11

        And i can able to compile and create example apk but i can able to create this one

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 17 Nov 2022, 20:42 last edited by
          #4

          Since you are customizing QGroundControl, are you able to build it with your desktop Qt ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • R Offline
            R Offline
            RamananAR
            wrote on 23 Nov 2022, 16:03 last edited by
            #5

            yes I can able to do that with windows not with android unfortunately

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 23 Nov 2022, 19:19 last edited by
              #6

              Ok, so what is the exact error message you get ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

                the compiler output is

                21:29:05: Running steps for project qgroundcontrol...
                21:29:05: Starting: "C:\Users\JES\AppData\Local\Android\Sdk\ndk\23.0.7599858\prebuilt\windows-x86_64\bin\make.exe" -j8
                rcc F:/QgroundControl/Hoverit_Pilot/qgroundcontrol/qgroundcontrol.qrc
                /usr/bin/bash: C:UsersJESAppDataLocalAndroidSdkndk19.2.5345600/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++: No such file or directory
                make: *** [Makefile:2410: armeabi-v7a/qrc_qgroundcontrol.obj] Error 127
                21:29:06: The process "C:\Users\JES\AppData\Local\Android\Sdk\ndk\23.0.7599858\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"
                21:29:06: Elapsed time: 00:02.

                And on the issues page
                :-1: error: [Makefile:2410: armeabi-v7a/qrc_qgroundcontrol.obj] Error 127

                Screenshot (36).png Screenshot (35).png

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 24 Nov 2022, 20:20 last edited by
                  #8

                  Can you try to disable the parallel build ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    RamananAR
                    wrote on 25 Nov 2022, 07:23 last edited by
                    #9

                    You're talking about parallel jobs in built settings right i have tried but unfortunately it won't give me any difference

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 25 Nov 2022, 19:56 last edited by
                      #10

                      My suggestion is to disable the parallel build and restart from scratch.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • R Offline
                        R Offline
                        RamananAR
                        wrote on 26 Nov 2022, 00:37 last edited by RamananAR
                        #11

                        NO change

                        If you don't mind can you please share your build settings and devices folder?

                        @SGaist @jsulm @aha_1980 @mrjj @Christian-Ehrlicher

                        Thank you

                        1 Reply Last reply
                        0
                        • R Offline
                          R Offline
                          RamananAR
                          wrote on 27 Nov 2022, 04:13 last edited by
                          #12
                          This post is deleted!
                          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