Android Source Build Error Qground Control
-
wrote on 3 Oct 2022, 18:54 last edited by
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 -
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 ? -
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 ?wrote on 17 Nov 2022, 11:36 last edited byThanks 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 11And i can able to compile and create example apk but i can able to create this one
-
Since you are customizing QGroundControl, are you able to build it with your desktop Qt ?
-
wrote on 23 Nov 2022, 16:03 last edited by
yes I can able to do that with windows not with android unfortunately
-
Ok, so what is the exact error message you get ?
-
wrote on 23 Nov 2022, 23:40 last edited by
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 -
Can you try to disable the parallel build ?
-
wrote on 25 Nov 2022, 07:23 last edited by
You're talking about parallel jobs in built settings right i have tried but unfortunately it won't give me any difference
-
My suggestion is to disable the parallel build and restart from scratch.
-
wrote on 26 Nov 2022, 00:37 last edited by RamananAR
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
-
wrote on 27 Nov 2022, 04:13 last edited byThis post is deleted!