"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号
友情链接: 成都网站设计 成都网站建设 专业网站设计 成都网站制作 成都网站建设 响应式网站设计 成都网站制作 成都网站建设 成都网站设计 手机网站制作 手机网站建设 企业网站制作 H5网站制作 网站建设公司 成都营销网站制作 高端网站设计推广 成都做网站建设公司 定制网站建设 营销型网站建设 重庆网站建设 四川成都网站设计 网站建设方案