[转] 解决RegexKitLite编译报错
本文永久地址为http://www.cnblogs.com/ChenYilong/p/3984254.html ,转载请注明出处。
在编译RegexKitLite的时候,报错如下:
Undefined symbols for architecture i386:
"_uregex_open", referenced from:
_rkl_getCachedRegex in RegexKitLite.o
"_uregex_groupCount", referenced from:
_rkl_getCachedRegex in RegexKitLite.o
"_uregex_setText", referenced from:
_rkl_setCachedRegexToString in RegexKitLite.o
_rkl_clearCachedRegexSetTo in RegexKitLite.o
-[RKLBlockEnumerationHelper initWithRegex:options:string:range:error:] in RegexKitLite.o
"_uregex_start", referenced from:
_rkl_performRegexOp in RegexKitLite.o
_rkl_search in RegexKitLite.o
_rkl_findRanges in RegexKitLite.o
"_uregex_end", referenced from:
_rkl_performRegexOp in RegexKitLite.o
_rkl_search in RegexKitLite.o
_rkl_findRanges in RegexKitLite.o
"_uregex_find", referenced from:
_rkl_search in RegexKitLite.o
"_uregex_findNext", referenced from:
_rkl_search in RegexKitLite.o
_rkl_replaceAll in RegexKitLite.o
"_uregex_reset", referenced from:
_rkl_replaceAll in RegexKitLite.o
"_uregex_appendReplacement", referenced from:
_rkl_replaceAll in RegexKitLite.o
"_uregex_appendTail", referenced from:
_rkl_replaceAll in RegexKitLite.o
"_uregex_close", referenced from:
_rkl_clearCachedRegex in RegexKitLite.o
"_u_errorName", referenced from:
_rkl_userInfoDictionary in RegexKitLite.o
_rkl_makeNSError in RegexKitLite.o
_rkl_NSExceptionForRegex in RegexKitLite.o
"_u_strlen", referenced from:
_rkl_userInfoDictionary in RegexKitLite.o
"_uregex_clone", referenced from:
-[RKLBlockEnumerationHelper initWithRegex:options:string:range:error:] in RegexKitLite.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
解决办法:
在项目的编译设置中找到Other Linker Flags,然后在后面字段空白处双击,添加“-licucore”就可以了。
本文永久地址为http://www.cnblogs.com/ChenYilong/p/3984254.html ,转载请注明出处。
最新文章
- [转载] SSH入门学习基础教程
- 用户反馈:对 Rafy 开发框架的一些个人建议
- REST有状态与无状态的理解
- JS设置CSS样式的几种方式【转】
- 每天一个 Linux 命令(4):mkdir
- eclipse导入JDK源码
- Codeforces 741A:Arpa's loud Owf and Mehrdad's evil plan(LCM+思维)
- python 数据结构之双向链表的实现
- BestCoder Round #87 LCIS(dp)
- 【FFT】专题总结
- Unity UGUI —— 鼠标穿透UI问题(Unity官方的解决方法)
- SourceTree 01 - git 客户端介绍
- Spring揭秘 读书笔记 七 BeanFactory的启动分析
- java~mac下的终端工具oh-my-zsh
- APS技术中的多目标规划问题
- 使用docker部署springboot
- c# httpclient
- 作用域public、private、protected、以及不写时的区别?
- .NET中资源文件的使用
- Apache的对象复制详解