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

iOS, iPad, iPhone, tvOS specific usage questions
wayneshiau
New Cone
New Cone
Posts: 3
Joined: 25 Aug 2015 08:32

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

Postby wayneshiau » 07 Jan 2016 07:50

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.

2753878589@qq.com
New Cone
New Cone
Posts: 1
Joined: 30 Mar 2016 11:21

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

Postby 2753878589@qq.com » 30 Mar 2016 11:49

HI,Did you solve this problem?
I've had the same problem.


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 2 guests