linking issues

41 views
Skip to first unread message

Alex Earley

unread,
Jul 28, 2010, 10:06:29 AM7/28/10
to VocalKit
Ld "build/Release-iphonesimulator/Book Reader App.app/Book Reader App"
normal i386
cd "/Users/apple/Book Reader/Book Reader App"
setenv MACOSX_DEPLOYMENT_TARGET 10.5
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/
usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/
gcc-4.2 -arch i386 -isysroot /Developer/Platforms/
iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk "-L/
Users/apple/Book Reader/Book Reader App/build/Release-iphonesimulator"
"-F/Users/apple/Book Reader/Book Reader App/build/Release-
iphonesimulator" -filelist "/Users/apple/Book Reader/Book Reader App/
build/Book Reader App.build/Release-iphonesimulator/Book Reader
App.build/Objects-normal/i386/Book Reader App.LinkFileList" -mmacosx-
version-min=10.5 -all_load -ObjC -Xlinker -objc_abi_version -Xlinker 2
-framework CoreGraphics -framework Foundation -framework OpenGLES -
framework QuartzCore -framework UIKit -framework AudioToolbox -
framework OpenAL -lz -framework AVFoundation "-lcocos2d libraries" -
liconv -o "/Users/apple/Book Reader/Book Reader App/build/Release-
iphonesimulator/Book Reader App.app/Book Reader App"

Undefined symbols:
"_VKRecognizedPhraseNotificationTextKey", referenced from:
_VKRecognizedPhraseNotificationTextKey$non_lazy_ptr in
scene_beta.o
(maybe you meant: _VKRecognizedPhraseNotificationTextKey
$non_lazy_ptr)
"_VKRecognizedPhraseNotification", referenced from:
_VKRecognizedPhraseNotification$non_lazy_ptr in scene_beta.o
(maybe you meant: _VKRecognizedPhraseNotificationTextKey
$non_lazy_ptr, _VKRecognizedPhraseNotification$non_lazy_ptr )
"_OBJC_CLASS_$_VKController", referenced from:
objc-class-ref-to-VKController in scene_beta.o
ld: symbol(s) not found
collect2: ld returned 1 exit status



I've just updated xcode and that happened, I poked around on Stack
Overflow, and some people had this issue with other third party
libraries. One person said to use the -U liker code, but it seems to
have no effect (or at least I'm doing it wrong) This is a problem I am
having for device and simulator build settings :/

It's been suggested "This is actually easy, all you have to do is get
the reference of the libsphinxad to the framework in vocalkit." by
Samuel Kitono. I'm not sure where to find libsphinxad.

Thanks


Brian King

unread,
Jul 28, 2010, 10:35:15 AM7/28/10
to voca...@googlegroups.com
It appears as though you don't have the static libraries in your project.   I don't see them in the output anyway.    What version of XCode are you using?



--
You received this message because you are subscribed to the Google Groups "VocalKit" group.
To post to this group, send email to voca...@googlegroups.com.
To unsubscribe from this group, send email to vocalkit+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/vocalkit?hl=en.


Alex Earley

unread,
Jul 28, 2010, 11:55:01 AM7/28/10
to voca...@googlegroups.com
Xcode version: 3.2.3, again, this problem happend when i updated yesterday from the last SDK. All was working fine, I even tried reinstalling vocal kit into the project using the instructions posted.

Thanks for the snappy responses :)

- Alex
Reply all
Reply to author
Forward
0 new messages