"std::ios_base::Init::~Init()",referencedfrom:

Undefined symbolsfor architecture armv6:"std::ios_base::Init::~Init()", referenced from:  ___tcf_0 in libmyCppLib_dev.a(myCppLib.o)"std::basic_ostream >& std::operator<<  >(std::basic_ostream >&, char const*)", referenced from:      _show_the_world in libmyCppLib_dev.a(myCppLib.o)"std::ios_base::Init::Init()", referenced from:  __static_initialization_and_destruction_0(int,int)in libmyCppLib_dev.a(myCppLib.o)"std::cout", referenced from:  _show_the_world in libmyCppLib_dev.a(myCppLib.o)ld: symbol(s) not foundfor architecture armv6collect2: ld returned1 exit status

成都创新互联公司始终坚持【策划先行,效果至上】的经营理念,通过多达10多年累计超上千家客户的网站建设总结了一套系统有效的全网营销推广解决方案,现已广泛运用于各行各业的客户,其中包括:自拌料搅拌车等企业,备受客户赞扬。

The correct answer was provided by Jimmy Koerting in the comments: the app needs to be linked against libstdc++.dylib to resolve the standard library symbols. Thanks to Jimmy Koerting, but one more thing i want to add here is, if you are using xcode latest version with iOS 6.1 please add thislibstdc++.6.dylib



http://stackoverflow.com/questions/6882817/building-static-c-lib-for-use-with-objective-c-app-in-xcode-4


本文名称:"std::ios_base::Init::~Init()",referencedfrom:
文章出自:http://bzwzjz.com/article/poshsg.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 网站设计 网站设计制作报价 广安网站设计 网站制作报价 成都网站建设 成都网站建设 四川成都网站制作 古蔺网站建设 手机网站制作 教育网站设计方案 企业网站建设公司 手机网站制作 泸州网站建设 温江网站设计 成都网站设计公司 成都定制网站建设 成都网站建设 网站设计制作 重庆企业网站建设 温江网站设计 企业网站制作 成都网站制作