Page 1 of 1

Building VLCKit on Mavericks

Posted: 08 Nov 2013 21:12
by boxed
I'm trying to build VLCKit on Mavericks, and I get the following errors:

- A message "broken pipe" after " * make package prepare prebuilt packages"
- "Mv: rename x86_64-apple-darwin10 to ../x86_64-apple-darwin10: Directory not empty"

Then it stops. This is when running the target "Make VLC" and also the same errors show up when I try "Setup VLC contribs" and "Run VLC Configure". I'm assuming there's some common stuff for all the projects that's failing...

Building VLC itself the normal way outside of XCode works just fine.

The reason I'm trying to build this is because the latest VLCKit is crashing hard when you call [VLCMediaPlayer stop] which I'd like to help fix. Right now I have a choice between an older nightly that draws the bottom few percent of the screen green, or one which crashes on stop commands :(

Help!

Re: Building VLCKit on Mavericks

Posted: 12 Nov 2013 19:14
by Jean-Baptiste Kempf
I think Mavericks only has clang and it can't compile all contribs.

Re: Building VLCKit on Mavericks

Posted: 19 Nov 2013 11:27
by soullessff
Hi,

This happened to me when I try to compile the build but the project is not cleaned. The best way to compile VLCKit in Maverick is:

- Clone the project
- Go to project folder
- Copy and paste in terminal:

Code: Select all

export CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc export CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ export OBJC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
And compile typing in terminal:

Code: Select all

make
Remember, if you need some additional package, use the awesome HomeBrew

Good luck!!