Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-02-2009, 11:59 PM   #1 (permalink)
New Member
 
Join Date: Jan 2009
Posts: 3
untitled is on a distinguished road
Default RegexKitLite wouldn't compile

Hi,

I'm trying to use your RegexKitLite for my iPhone app Project.

I've downloaded the latest revision, 35, and have added the .m and .h files to my project, however when I try to build it I get the error below during the Linking stage. Is there something I am doing wrong?

advTHANXance!

Code:
Undefined symbols:
"_uregex_reset", referenced from:
_rkl_splitArray in RegexKitLite.o
_rkl_replaceAll in RegexKitLite.o
"_uregex_appendTail", referenced from:
_rkl_replaceAll in RegexKitLite.o
"_uregex_end", referenced from:
_rkl_find in RegexKitLite.o
_rkl_find in RegexKitLite.o
_rkl_splitArray in RegexKitLite.o
_rkl_splitArray in RegexKitLite.o
"_uregex_findNext", referenced from:
_rkl_find in RegexKitLite.o
_rkl_splitArray in RegexKitLite.o
_rkl_replaceAll in RegexKitLite.o
"_uregex_open", referenced from:
_getCachedRegex in RegexKitLite.o
"_u_errorName", referenced from:
_userInfoDictionary in RegexKitLite.o
_RKLNSExceptionForRegex in RegexKitLite.o
"_uregex_setText", referenced from:
_setCacheSlotToString in RegexKitLite.o
_clearCacheSlotSetTo in RegexKitLite.o
"_uregex_appendReplacement", referenced from:
_rkl_replaceAll in RegexKitLite.o
"_uregex_find", referenced from:
_rkl_find in RegexKitLite.o
"_u_strlen", referenced from:
_userInfoDictionary in RegexKitLite.o
_userInfoDictionary in RegexKitLite.o
"_uregex_start", referenced from:
_rkl_find in RegexKitLite.o
_rkl_find in RegexKitLite.o
_rkl_splitArray in RegexKitLite.o
_rkl_splitArray in RegexKitLite.o
"_uregex_groupCount", referenced from:
_getCachedRegex in RegexKitLite.o
"_uregex_close", referenced from:
_clearCacheSlotRegex in RegexKitLite.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
untitled is offline   Reply With Quote
Old 01-07-2009, 05:31 PM   #2 (permalink)
New Member
 
Join Date: Sep 2008
Posts: 11
johne is on a distinguished road
Default

It looks like you forget to link to the ICU library. There's a lot of different ways to do this, but the simplest is probably to open either the project or target settings (Project > Edit Project Settings, Project > Edit Active Target '...', I'd opt for edit active target if you're not sure).

Select the 'Build' tab at the top, then find the 'Linking..' section. There will be a field called 'Other Linker Flags'. Double click the value column for that row and enter '-licucore'. This will tell the linker that the ICU library needs to be linked to.
johne is offline   Reply With Quote
Old 04-21-2010, 12:36 AM   #3 (permalink)
iPhone Developer
 
Join Date: Jan 2009
Location: India , Pune
Posts: 44
ameya is on a distinguished road
Send a message via Skype™ to ameya
Thumbs up

In project setting search "other" at Other Linker Flags put the word "-licucore".


Quote:
Originally Posted by untitled View Post
Hi,

I'm trying to use your RegexKitLite for my iPhone app Project.

I've downloaded the latest revision, 35, and have added the .m and .h files to my project, however when I try to build it I get the error below during the Linking stage. Is there something I am doing wrong?

advTHANXance!

Code:
Undefined symbols:
"_uregex_reset", referenced from:
_rkl_splitArray in RegexKitLite.o
_rkl_replaceAll in RegexKitLite.o
"_uregex_appendTail", referenced from:
_rkl_replaceAll in RegexKitLite.o
"_uregex_end", referenced from:
_rkl_find in RegexKitLite.o
_rkl_find in RegexKitLite.o
_rkl_splitArray in RegexKitLite.o
_rkl_splitArray in RegexKitLite.o
"_uregex_findNext", referenced from:
_rkl_find in RegexKitLite.o
_rkl_splitArray in RegexKitLite.o
_rkl_replaceAll in RegexKitLite.o
"_uregex_open", referenced from:
_getCachedRegex in RegexKitLite.o
"_u_errorName", referenced from:
_userInfoDictionary in RegexKitLite.o
_RKLNSExceptionForRegex in RegexKitLite.o
"_uregex_setText", referenced from:
_setCacheSlotToString in RegexKitLite.o
_clearCacheSlotSetTo in RegexKitLite.o
"_uregex_appendReplacement", referenced from:
_rkl_replaceAll in RegexKitLite.o
"_uregex_find", referenced from:
_rkl_find in RegexKitLite.o
"_u_strlen", referenced from:
_userInfoDictionary in RegexKitLite.o
_userInfoDictionary in RegexKitLite.o
"_uregex_start", referenced from:
_rkl_find in RegexKitLite.o
_rkl_find in RegexKitLite.o
_rkl_splitArray in RegexKitLite.o
_rkl_splitArray in RegexKitLite.o
"_uregex_groupCount", referenced from:
_getCachedRegex in RegexKitLite.o
"_uregex_close", referenced from:
_clearCacheSlotRegex in RegexKitLite.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
__________________
Sr Software Programmer

Solutions to problems
ameya is offline   Reply With Quote
Old 05-11-2010, 11:37 PM   #4 (permalink)
David
 
Join Date: Nov 2009
Location: New Zealand
Posts: 12
nzdave is on a distinguished road
Send a message via MSN to nzdave Send a message via Skype™ to nzdave
Default

Quote:
Originally Posted by johne View Post
It looks like you forget to link to the ICU library. There's a lot of different ways to do this, but the simplest is probably to open either the project or target settings (Project > Edit Project Settings, Project > Edit Active Target '...', I'd opt for edit active target if you're not sure).

Select the 'Build' tab at the top, then find the 'Linking..' section. There will be a field called 'Other Linker Flags'. Double click the value column for that row and enter '-licucore'. This will tell the linker that the ICU library needs to be linked to.
Appreciate that little gem of help johne!

Cheers.
nzdave is offline   Reply With Quote
Old 08-11-2010, 05:15 AM   #5 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 15
dazz is on a distinguished road
Default

Thanks all....
dazz is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 412
16 members and 396 guests
7twenty7, blasterbr, buggen, Clouds, dre, EvilElf, HemiMG, jeroenkeij, jimmyon122, jonathandeknudt, LEARN2MAKE, Mah6447, n00b, nyoe, pungs, UMAD
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,668
Threads: 94,121
Posts: 402,901
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jonathandeknudt
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:56 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0