zoukankan      html  css  js  c++  java
  • [转] 解决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 ,转载请注明出处。


  • 相关阅读:
    [编程题] 数组中重复的数字
    [编程题] 用两个栈实现队列
    杜教筛学习笔记
    二次剩余学习小记
    Burnside引理和Polya定理简单入门
    6553. 【GDOI2020模拟4.11】人生
    6545. 【GDOI2020模拟4.8】 Exercise
    2020.4.5学军信友队趣味网络邀请赛总结
    51 Nod 1287 加农炮(单调队列思想+二分)
    51 Nod 1070 Bash游戏v4(斐波那契博弈)
  • 原文地址:https://www.cnblogs.com/ChenYilong/p/3984254.html
Copyright © 2011-2022 走看看