linker command failed, error: cannot find -lc++
-
Hello,
I'm using a freshly installed openSuse Leap 15.1, a freshly installed Android Studio and a freshly installed Qt Creator 4.9.2
Based on Qt 5.12.4.
All three work fine together, so far.
Now I'm trying to deploy a just from Creator's wizard created project ( not changed a single line of code ) to an Android Virtual Device and I'm getting this linker-error:
":-1: error: linker command failed with exit code 1 (use -v to see invocation)"
":-1: error: error: cannot find -lc++", please see screenshot.
Is there anybody out there who has ever come across this error message and can advise ?
Thank you.
-
Hello, hello Quang Phu,
as mentioned by trousev in the post of Quang Phu's provided link, this made it work:
"You also can write this into your own qmake file, not into system one. To be precise, just add into your project's .pro the following:QMAKE_LINK += -nostdlib++"
Thanks everybody.