原地址:http://blog.csdn.net/kepoon/article/details/7586861

在编译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”就可以了。

或者试试 :licucoreA

解决RegexKitLite编译报错的更多相关文章

  1. [转] 解决RegexKitLite编译报错

    本文永久地址为http://www.cnblogs.com/ChenYilong/p/3984254.html ,转载请注明出处. 在编译RegexKitLite的时候,报错如下: Undefined ...

  2. RegexKitLite编译报错

    报错如下:  Undefined symbols for architecture i386: "_uregex_open", referenced from: _rkl_getC ...

  3. 解决RegexKitLite导入报错问题

    1.RegexKitLite是什么? RegexKitLite是一个非常方便的处理正则表达式的第三方类库. 本身只有一个RegexKitLite.h和RegexKitLite.m 2.导入RegexK ...

  4. IDEA解决 lombok 编译报错 cannot resolve method set/get 方法

    首先关于lombok的介绍 https://blog.csdn.net/ThinkWon/article/details/101392808 总之,就是通过添加注解的方式,不需要为类编写getter或 ...

  5. org.eclipse.wst.common.project.facet.core.xml文件模板,解决eclipse编译报错。

    <?xml version="1.0" encoding="UTF-8"?> <faceted-project> <fixed f ...

  6. 解决php编译报错configure: error: mcrypt.h not found. Please reinstall libmcrypt.

    yum install -y epel-releaseyum install -y libmcrypt-devel

  7. xocde7下导入libsqlite3.tbd编译报错的解决办法

    在xocde7下没有libsqlite3.dylib,只有libsqlite3.tbd,然后我导入了tbd.编译报错error: /Applications/Xcode.app/Contents/De ...

  8. wince6.0 编译报错:"error C2220: warning treated as error - no 'object' file generated"的解决办法

    内容提要:wince6.0编译报错:"error C2220: warning treated as error - no 'object' file generated" 原因是 ...

  9. caffe编译报错解决

    添加ssd中的一些层之后,编译报错: ../lib/libcaffe.so.1.0.0-rc5:对‘boost::match_results<__gnu_cxx::__normal_iterat ...

随机推荐

  1. XSL

    前言 XSL,拓展样式表语言,可以理解为XML用的CSS,在其中定义xml格式对应的东西 放在xsl文件中 XSLT,按照XSL中的格式将XML转为XHTML 语法 XML声明: <?xml v ...

  2. 设计模式-命令模式(Command Pattern)

    本文由@呆代待殆原创,转载请注明出处:http://www.cnblogs.com/coffeeSS/ 命令模式简述 命令模式的主要作用是将“行为请求者”和“行为实现者”解耦.举个例子,假如我们现在要 ...

  3. 在spring中手动编写事务

    利用事务模板TransactionTemplate来手动添加事务 public void addRant(Rant rant) { transactionTemplate.execute(-?tran ...

  4. Python开发基础-Day12模块1

    time模块 在Python中,通常有这三种方式来表示时间:时间戳.元组(struct_time).格式化的时间字符串: (1)时间戳(timestamp) :通常来说,时间戳表示的是从1970年1月 ...

  5. 鹦鹉学舌1——C语言初学者百题大战之三

    #include<stdio.h> int main() { int a; scanf("%d",&a); printf("%d",a-a+ ...

  6. React的思想

    react是什么 react是开发出来用来促进UI交互的,创建带有状态的.可复用的UI组件的IU库 react不仅可以在浏览器端使用,还可以在服务器端使用,还可以两端一起使用. react的底层概念: ...

  7. 【OpenJudge9277】【递推】Logs Stacking堆木头

    Logs Stacking堆木头 总时间限制: 1000ms 内存限制: 131072kB [描述] Daxinganling produces a lot of timber. Before loa ...

  8. CString.Format %s 字符串 要用char *

    CString.Format %s 字符串 错了,应该是:std::string str;CString sql;sql.Format("%s",str.c_str());所以正确 ...

  9. linux之rootfs (UBIFS)

    转:http://www.360doc.com/content/11/1208/15/3700464_170655736.shtml 大大小小事情一堆,好久不更新了,这次记录下移植ubifs文件系统步 ...

  10. 用python生成基于lombok 和 hibernate 生成javabean

    mysql工具类 import pymysql.cursors import sys from contextlib import contextmanager import traceback im ...