Undefined symbols for architecture armv7: "STD: basic_string Type Error

Source: Internet
Author: User

A series of errors are found when a static library is imported.

Undefined symbols for architecture armv7:

"STD: String: resize (unsigned long, char)", referenced from:

I finally found a lot of articles on the Internet.

Http://stackoverflow.com/questions/12968369/undefined-symbols-for-architecture-armv7-when-using-zxing-library-in-xcode-4-5

This article is available:

Http://blog.csdn.net/kaizi318/article/details/10362673

The two articles are resolved as follows:

Adding libstdc ++. dylib does not solve the problem. It took a few hours to get bored. Finally, right-click the file and choose "Finder" to show it as a substitute for the database. Add libstdc ++. 6.0.9.dylib. Solve the problem.

Undefined symbols for architecture armv7: "STD: basic_string Type Error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.