Build error for device during compile script

iOS, iPad, iPhone, tvOS specific usage questions
kcpac
New Cone
New Cone
Posts: 2
Joined: 24 Mar 2014 12:24

Build error for device during compile script

Postby kcpac » 20 May 2014 18:05

Hey guys,

I tried to build the vlc player iOS version, but during compiling I get an error. I cloned the repo regarding IOSCompile guidelines. Then I run the compileVLCforiOS.sh script without -s, because I want to deploy on my own device and not on the simulator. During compiling I got following error:

ld: warning: directory not found for option '-L/Users/kevinchromik/Documents/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/x86_64-apple-darwin11-x86_64/lib'
ld: building for iOS Simulator, but linking against dylib built for MacOSX file '/usr/local/Cellar/freetype/2.5.2/lib/libfreetype.dylib' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [main] Error 1
make[3]: *** [install-recursive] Error 1
make[2]: *** [install] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [.harfbuzz] Error 2


If I open the project in Xcode it says, that 'MediaLibraryKit/MediaLibraryKit.h' is not found and of course I cannot build it for my device. I also tried to run the script as sudo, but got the same result.

Thanks for help in advance. Regards.

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

Who is online

Users browsing this forum: No registered users and 29 guests