VLC 2.4.1 compile error

iOS, iPad, iPhone, tvOS specific usage questions
jonathan.hu
New Cone
New Cone
Posts: 8
Joined: 18 Mar 2015 03:52

VLC 2.4.1 compile error

Postby jonathan.hu » 18 Mar 2015 04:30

Hi all,

I just follow the wiki instruction to build VLC 2.4.1 , (https://wiki.videolan.org/IOSCompile/)

At first I download the VLC 2.4.1 for the website. (not from git here)

In my case ,the compileVLCforiOS.sh will execute error at the "Setup 'External' folders" step.

I found out that these below "ln" commands will report error ,

Code: Select all

ln -sf ${framework_build} External/MobileVLCKit ln -sf ${mlkit_build} External/MediaLibraryKit ln -sf ${gtl_build} External/gtl
Because the project VLCKit ,MediaLibraryKit ,GDrive havn't been built,
and the ${xcbuilddir} is not exist.

Code: Select all

framework_build="${aspen_root_dir}/ImportedSources/VLCKit/${xcbuilddir}" mlkit_build="${aspen_root_dir}/ImportedSources/MediaLibraryKit/${xcbuilddir}" gtl_build="${aspen_root_dir}/ImportedSources/GDrive/${xcbuilddir}"
I just mark these "ln" commands, and finally execute to building step.

But I got an error when building MobileVLCKit:

The following build commands failed:

CompileC build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/VLCLibrary.o Sources/VLCLibrary.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler


And then I grab another one from git , and follow the instruction again.

I got the error with "compileVLCforiOS.sh -s":

The following build commands failed:
Libtool build/MobileVLCKit.build/Release-iphonesimulator/MobileVLCKit.build/Objects-normal/i386/libMobileVLCKit.a normal i386
Libtool build/MobileVLCKit.build/Release-iphonesimulator/MobileVLCKit.build/Objects-normal/x86_64/libMobileVLCKit.a normal x86_64


I really have no idea about this error.

Could someone tell me what's the problem here ? And how to solve it.

Thank you.

OS version : OS X 10.10.3
Xcode: Xcode 6.2
SDK: iOS 8.2

jonathan.hu
New Cone
New Cone
Posts: 8
Joined: 18 Mar 2015 03:52

Re: VLC 2.4.1 compile error

Postby jonathan.hu » 18 Mar 2015 08:30

I retry again use the version download from git ,that's ok , build complete.

But the version download from website is still not working.


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

Who is online

Users browsing this forum: No registered users and 1 guest