Example error:
"std::string::data() const", referenced from:
The link command is doing:
-lstdc++
And I have the C++ Standard Library set to libstdc++ in Build Settings.
Is there anything else I should check?
Example error:
"std::string::data() const", referenced from:
The link command is doing:
-lstdc++
And I have the C++ Standard Library set to libstdc++ in Build Settings.
Is there anything else I should check?
Even though I added the link flag -lstdc++, XCode 5 overwrites that option. I had to add a dummy C++ class (.h and .mm files) to get Xcode to use the std c++. Got the tip here