Android Source Build Error Qground Control
-
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 ? -
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 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 ?
-
Ok, so what is the exact error message you get ?
-
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 ?
-
My suggestion is to disable the parallel build and restart from scratch.