I'm trying to build VLCKit on macOS Sierra, but had no luck so far.
I cloned the VLCKit repo and started the build using the buildVLCKit.sh script.
The first time it failed with an linker error:
Code: Select all
Undefined symbols for architecture x86_64:
"_inflateValidate", referenced from:
_png_inflate_claim in libpng16.a(pngrutil.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [timepng] Error 1
make[1]: *** [install] Error 2
make: *** [.png] Error 2
But the build now stops after compiling x265.
Code: Select all
/usr/local/bin/gmkdir -p '/Users/x/tmp/VLCKit/libvlc/vlc/contrib/x86_64-apple-darwin15/bin'
touch .libarchive
[ 84%] Built target common
Scanning dependencies of target x265-static
[ 86%] Linking CXX static library libx265.a
[ 86%] Built target x265-static
Scanning dependencies of target cli
[ 89%] Building CXX object CMakeFiles/cli.dir/input/input.cpp.o
[ 89%] Building CXX object CMakeFiles/cli.dir/output/reconplay.cpp.o
[ 92%] Building CXX object CMakeFiles/cli.dir/input/yuv.cpp.o
[ 92%] Building CXX object CMakeFiles/cli.dir/input/y4m.cpp.o
[ 92%] Building CXX object CMakeFiles/cli.dir/output/output.cpp.o
[ 93%] Building CXX object CMakeFiles/cli.dir/output/yuv.cpp.o
[ 94%] Building CXX object CMakeFiles/cli.dir/output/y4m.cpp.o
[ 96%] Building CXX object CMakeFiles/cli.dir/output/raw.cpp.o
[ 97%] Building CXX object CMakeFiles/cli.dir/x265.cpp.o
[ 98%] Building CXX object CMakeFiles/cli.dir/x265-extras.cpp.o
[100%] Linking CXX executable x265
[100%] Built target cli
Install the project...
-- Install configuration: "Release"
-- Installing: /Users/x/tmp/VLCKit/libvlc/vlc/contrib/x86_64-apple-darwin15/lib/libx265.a
-- Installing: /Users/x/tmp/VLCKit/libvlc/vlc/contrib/x86_64-apple-darwin15/include/x265.h
-- Installing: /Users/x/tmp/VLCKit/libvlc/vlc/contrib/x86_64-apple-darwin15/include/x265_config.h
-- Installing: /Users/x/tmp/VLCKit/libvlc/vlc/contrib/x86_64-apple-darwin15/lib/pkgconfig/x265.pc
-- Installing: /Users/x/tmp/VLCKit/libvlc/vlc/contrib/x86_64-apple-darwin15/bin/x265
sed -e s/'[^ ]*clang_rt[^ ]*'//g -i.orig "/Users/x/tmp/VLCKit/libvlc/vlc/contrib/x86_64-apple-darwin15/lib/pkgconfig/x265.pc"
touch .x265
Sadly the nightly builds are broken two. A precompiled version on the vlc site would be really nice as im always having trouble compiling a new version of vlckit.