Solved Android Building and cannot find -lc++
-
Hi,
I am trying to make an app for android. So far the app is working on desktop. But as soon as I change its kit to android Clang Qt 5.12.4 for android ARMv7 and try to build it.
It shows me an error with " error: cannot find -lc++
clang++: error: linker command failed with exit code 1 (use -v to see invocation)"I have used "android-ndk-r16b" and JDK "1.8.0_141".
I am using QT Creator 4.10.0 Based on Qt 5.13.1 (Clang 10.0 (Apple), 64 bit)
Please help me to build/compile it. I can see my android device under compatible devices in qt.
-
hi @mandeep-chaudhary and welcome
you're not the first with the issue, see
https://forum.qt.io/topic/101322/what-s-the-problem-android-compile-error -
Thank You very much problem is solved . It was basically by using ndk 20r and modifying qmake.conf file as mentioned in the post suggested by you.
Thank You !!!
-
So please mark this topic as SOLVED too. Thanks!