Page 1 of 1

VLCkit compile failed on MacOS 10.11 XCode 7.3.1

Posted: 20 Jun 2016 03:24
by tengi
I tried to compile VLCKit master branch, on MacOS 10.11 XCode 7.3.1. But just couldn't succeed. I had good knowledge on c++ but completely new to xcode and objective-c. I just want to build VLCKit and gradually write my own video playback application on Mac. I followed steps on https://wiki.videolan.org/VLCKit/. And changed architecture on XCode to only x86_64. Still, compilation failed at this step :

cp: /Users/tengi/Library/Developer/Xcode/DerivedData/VLCKit-bblowyckdywviabdgzbhzxkhycjk/Build/Products/Debug/vlc_build_dir/x86_64/share/lua: No such file or directory
What should I do ?

Btw
I also tried the answer on this post :http://stackoverflow.com/questions/2512 ... ac-os-10-9. Compilation failed also at the last step, same error.

Should I go ahead to build my own app directly on libvlc as I just need a simple playback and basic query on the media.
Any advice is appreciated, Thanks !

Here is the log file: https://gist.github.com/captainjtx/3121 ... 3e9b2a3feb

Re: VLCkit compile failed on MacOS 10.11 XCode 7.3.1

Posted: 20 Jun 2016 11:34
by fkuehne
The problem is that lua is currently broken in the unstable branch of VLCKit and libvlc. As a start, we should fix the build script to not fail if lua is not available. I'll look into that later this week, thanks for the report!

Re: VLCkit compile failed on MacOS 10.11 XCode 7.3.1

Posted: 20 Jun 2016 18:03
by tengi
The problem is that lua is currently broken in the unstable branch of VLCKit and libvlc. As a start, we should fix the build script to not fail if lua is not available. I'll look into that later this week, thanks for the report!
Thanks for your information. However, I also tried to compile the stable branch, I had this error:

Code: Select all

configure: error: C preprocessor "/usr/bin/cpp" fails sanity check
, here is the log file :https://gist.github.com/captainjtx/b1ac ... ee7c393ba5
Any idea ?