首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >MGTwitterEngine yajl错误

MGTwitterEngine yajl错误
EN

Stack Overflow用户
提问于 2011-10-16 16:03:21
回答 1查看 329关注 0票数 2

我正在尝试让MGTwitterEngine为iPhone软件开发工具包工作。但是得到以下错误

代码语言:javascript
复制
Undefined symbols for architecture i386:
  "_yajl_alloc", referenced from:
      -[MGTwitterYAJLParser initWithJSON:delegate:connectionIdentifier:requestType:responseType:URL:deliveryOptions:] in MGTwitterYAJLParser.o
  "_yajl_parse", referenced from:
      -[MGTwitterYAJLParser initWithJSON:delegate:connectionIdentifier:requestType:responseType:URL:deliveryOptions:] in MGTwitterYAJLParser.o
  "_yajl_get_error", referenced from:
      -[MGTwitterYAJLParser initWithJSON:delegate:connectionIdentifier:requestType:responseType:URL:deliveryOptions:] in MGTwitterYAJLParser.o
  "_yajl_free_error", referenced from:
      -[MGTwitterYAJLParser initWithJSON:delegate:connectionIdentifier:requestType:responseType:URL:deliveryOptions:] in MGTwitterYAJLParser.o
  "_yajl_free", referenced from:
      -[MGTwitterYAJLParser initWithJSON:delegate:connectionIdentifier:requestType:responseType:URL:deliveryOptions:] in MGTwitterYAJLParser.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status

有什么想法吗?提前感谢您的帮助!

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2011-10-16 16:21:52

在您的build目标中,您需要排除名称中包含"YAJL“的文件。

如果您使用的是Xcode4,应该可以在目标的构建阶段的“编译源”下访问它。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7783063

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档