IOS & libstdc++
-
make gives error while compile for IOS with following configuration;
error : ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libstdc++.6.dylib, missing required architecture armv7 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libstdc++.6.dylib
.pro is;
ios { CONFIG += shared CONFIG += c++11 LIBS += /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libstdc++.6.dylib }
... but when "shared" changed to "app" is Ok !...
I have already tried several configuration to solve it...
Thanks...
-
Hi,
Why are you linking to libstdc++ like that ?
Qt already links to the correct version of the C++ library needed.
-
Hi,
Why are you linking to libstdc++ like that ?
Qt already links to the correct version of the C++ library needed.
-
I don't either.
However it still looks fishy to link to a library for the simulator while it looks like you are building an application for a device.
-
I don't either.
However it still looks fishy to link to a library for the simulator while it looks like you are building an application for a device.