Resolve Regexkitlite Compilation Error

Source: Internet
Author: User

When compiling the Regexkitlite, the error is as follows:

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:] inregexkitlite.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:] inregexkitlite.o

Ld:symbol (s) not found for architecture i386

Collect2:ld returned 1 exit status


Workaround:

Find the other Linker Flags in the project's compilation settings, then double-click in the fields below, and add "-licucore" to it.

Resolve Regexkitlite Compilation Error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.