Page 1 of 1

After change the source code, it occurs "symbol(s) not found for architecture arm64"

Posted: 07 Jan 2016 07:50
by wayneshiau
I've successfully build MobileVLCKit 3.0.0-pre2 in this wiki page: http://www.videolan.org/vlc/download-ios.html.

But I have to record rtsp stream by VLC, I followed this patch: https://patches.videolan.org/patch/606/, and also enable sout modules.

In order to use the patch, I add some record functions in VLCMediaPlayer.h and also in VLCMediaPlayer.m. After doing this and successfully build the VLC and include the framework into my project, it shows me the error "symbol(s) not found for architecture arm64". The following is the entire error message:

Undefined symbols for architecture arm64:
"_libvlc_media_player_record_stop", referenced from:
-[VLCMediaPlayer recordStop] in MobileVLCKit(VLCMediaPlayer.o)
"_libvlc_media_player_is_recording", referenced from:
-[VLCMediaPlayer isRecording] in MobileVLCKit(VLCMediaPlayer.o)
"_libvlc_media_player_record_start", referenced from:
-[VLCMediaPlayer recordStart:] in MobileVLCKit(VLCMediaPlayer.o)
"_libvlc_media_player_is_recordable", referenced from:
-[VLCMediaPlayer isRecordable] in MobileVLCKit(VLCMediaPlayer.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I used "./buildMobileVLCKit.sh -n -f" to build my VLCMobileKit. And test my project in iPhone 5, XCode 7.2.

Could anyone tell me what steps that I miss?

Thanks.

Re: After change the source code, it occurs "symbol(s) not found for architecture arm64"

Posted: 30 Mar 2016 11:49
by 2753878589@qq.com
HI,Did you solve this problem?
I've had the same problem.