VLCKit/libVLC build issues (tvOS and others)
Posted: 28 Dec 2016 13:11
Since Dec. 3rd there was no successful build of VLCKit for macOS, iOS and tvOS. Same applies to libVLC and the VLC app.
So - maybe I can support you by trying to build locally. Despite the fact, that git clone is awfully slow (can I prepare my own mirror?) I also tweaked the build script to only run 1 job at a time. So it is a matter of patience - but the build stops, as soon as it runs into an error.
So far it looks like libVLC builds fine for tvOS but not for simulator. Finally it is an issue building libvpx for simulator - I reported that already.
Build log is:
So it looks like the .asm extension is not known to the build system... Maybe the rules for ".s" needs to be copied to apply to ".asm" or something to fix in gas-preprocessor even though gas is not used on Mac as it is replaced by clang.
Any hints - and I will try any fix.
Well, and then report the follow up issues.
So - maybe I can support you by trying to build locally. Despite the fact, that git clone is awfully slow (can I prepare my own mirror?) I also tweaked the build script to only run 1 job at a time. So it is a matter of patience - but the build stops, as soon as it runs into an error.
So far it looks like libVLC builds fine for tvOS but not for simulator. Finally it is an issue building libvpx for simulator - I reported that already.
Build log is:
Code: Select all
mv libvpx-1.6.0 libvpx && touch libvpx
cd libvpx && LDFLAGS="-L/Applications/Xcode7.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator9.2.sdk/usr/lib -isysroot /Applications/Xcode7.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator9.2.sdk -mtvos-version-min=9.0 -arch x86_64" CROSS= ./configure --target=x86_64-darwin11-gcc \
--enable-runtime-cpu-detect --disable-docs --disable-examples --disable-unit-tests --disable-install-bins --disable-install-docs --disable-dependency-tracking --enable-vp9-highbitdepth --disable-vp8-encoder --disable-vp9-encoder --enable-pic --sdk-path=/Applications/Xcode7.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator9.2.sdk --enable-vp8-decoder --disable-vp8-encoder --disable-vp9-encoder --prefix=/Users/ssb/Projekte/ssb/AppleTV/_VLCKit/VLCKit/libvlc/vlc/contrib/AppleTV-x86_64-apple-darwin14-x86_64
enabling runtime_cpu_detect
disabling docs
disabling examples
disabling unit_tests
disabling install_bins
disabling install_docs
disabling dependency_tracking
enabling vp9_highbitdepth
disabling vp8_encoder
disabling vp9_encoder
enabling pic
enabling vp8_decoder
enabling vp9_decoder
Configuring for target 'x86_64-darwin11-gcc'
enabling x86_64
enabling mmx
enabling sse
enabling sse2
enabling sse3
enabling ssse3
enabling sse4_1
enabling avx
enabling avx2
using gas-preprocessor.pl xcrun clang
enabling use_x86inc
enabling postproc
enabling webm_io
enabling libyuv
Creating makefiles for x86_64-darwin11-gcc libs
cd libvpx && /Applications/Xcode7.app/Contents/Developer/usr/bin/make
[CREATE] vpx_scale_rtcd.h
[CREATE] vpx_dsp_rtcd.h
[CREATE] vp8_rtcd.h
[CREATE] vp9_rtcd.h
[CC] vpx/src/vpx_decoder.c.o
[CC] vpx/src/vpx_encoder.c.o
[CC] vpx/src/vpx_codec.c.o
[CC] vpx/src/vpx_image.c.o
[CC] vpx/src/vpx_psnr.c.o
[CC] vpx_mem/vpx_mem.c.o
[CC] vpx_scale/generic/vpx_scale.c.o
[CC] vpx_scale/generic/yv12config.c.o
[CC] vpx_scale/generic/yv12extend.c.o
[CC] vpx_scale/generic/gen_scalers.c.o
[CC] vpx_scale/vpx_scale_rtcd.c.o
[CC] vpx_dsp/prob.c.o
[CC] vpx_dsp/bitreader.c.o
[CC] vpx_dsp/bitreader_buffer.c.o
[CC] vpx_dsp/intrapred.c.o
[CC] vpx_dsp/add_noise.c.o
[CC] vpx_dsp/vpx_convolve.c.o
[CC] vpx_dsp/x86/vpx_asm_stubs.c.o
[CC] vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c.o
[CC] vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c.o
[CC] vpx_dsp/loopfilter.c.o
[CC] vpx_dsp/x86/loopfilter_sse2.c.o
[CC] vpx_dsp/x86/loopfilter_avx2.c.o
[CC] vpx_dsp/x86/highbd_loopfilter_sse2.c.o
[CC] vpx_dsp/inv_txfm.c.o
[CC] vpx_dsp/x86/inv_txfm_sse2.c.o
[CC] vpx_dsp/variance.c.o
[CC] vpx_dsp/x86/variance_sse2.c.o
[CC] vpx_dsp/x86/halfpix_variance_sse2.c.o
[CC] vpx_dsp/x86/variance_avx2.c.o
[CC] vpx_dsp/x86/variance_impl_avx2.c.o
[CC] vpx_dsp/x86/highbd_variance_sse2.c.o
[CC] vpx_dsp/vpx_dsp_rtcd.c.o
[CC] vpx_util/vpx_thread.c.o
[CC] vp8/common/alloccommon.c.o
[CC] vp8/common/blockd.c.o
[CC] vp8/common/copy_c.c.o
[CC] vp8/common/debugmodes.c.o
[CC] vp8/common/dequantize.c.o
[CC] vp8/common/entropy.c.o
[CC] vp8/common/entropymode.c.o
[CC] vp8/common/entropymv.c.o
[CC] vp8/common/extend.c.o
[CC] vp8/common/filter.c.o
[CC] vp8/common/findnearmv.c.o
[CC] vp8/common/generic/systemdependent.c.o
[CC] vp8/common/idct_blk.c.o
[CC] vp8/common/idctllm.c.o
[CC] vp8/common/rtcd.c.o
[CC] vp8/common/vp8_loopfilter.c.o
[CC] vp8/common/loopfilter_filters.c.o
[CC] vp8/common/mbpitch.c.o
[CC] vp8/common/modecont.c.o
[CC] vp8/common/quant_common.c.o
[CC] vp8/common/reconinter.c.o
[CC] vp8/common/reconintra.c.o
[CC] vp8/common/reconintra4x4.c.o
[CC] vp8/common/setupintrarecon.c.o
[CC] vp8/common/swapyv12buffer.c.o
[CC] vp8/common/treecoder.c.o
[CC] vp8/common/x86/filter_x86.c.o
[CC] vp8/common/x86/vp8_asm_stubs.c.o
[CC] vp8/common/x86/loopfilter_x86.c.o
[CC] vp8/common/mfqe.c.o
[CC] vp8/common/postproc.c.o
[CC] vp8/common/x86/idct_blk_mmx.c.o
[CC] vp8/common/x86/idct_blk_sse2.c.o
[CC] vp8/vp8_dx_iface.c.o
[CC] vp8/decoder/dboolhuff.c.o
[CC] vp8/decoder/decodemv.c.o
[CC] vp8/decoder/decodeframe.c.o
[CC] vp8/decoder/detokenize.c.o
[CC] vp8/decoder/onyxd_if.c.o
[CC] vp8/decoder/threading.c.o
[CC] vp9/common/vp9_alloccommon.c.o
[CC] vp9/common/vp9_blockd.c.o
[CC] vp9/common/vp9_debugmodes.c.o
[CC] vp9/common/vp9_entropy.c.o
[CC] vp9/common/vp9_entropymode.c.o
[CC] vp9/common/vp9_entropymv.c.o
[CC] vp9/common/vp9_frame_buffers.c.o
[CC] vp9/common/vp9_idct.c.o
[CC] vp9/common/vp9_filter.c.o
[CC] vp9/common/vp9_pred_common.c.o
[CC] vp9/common/vp9_rtcd.c.o
[CC] vp9/common/vp9_scale.c.o
[CC] vp9/common/vp9_seg_common.c.o
[CC] vp9/common/vp9_tile_common.c.o
[CC] vp9/common/vp9_loopfilter.c.o
[CC] vp9/common/vp9_thread_common.c.o
[CC] vp9/common/vp9_mvref_common.c.o
[CC] vp9/common/vp9_quant_common.c.o
[CC] vp9/common/vp9_reconinter.c.o
[CC] vp9/common/vp9_reconintra.c.o
[CC] vp9/common/vp9_common_data.c.o
[CC] vp9/common/vp9_scan.c.o
[CC] vp9/common/x86/vp9_idct_intrin_sse2.c.o
[CC] vp9/vp9_dx_iface.c.o
[CC] vp9/decoder/vp9_decodemv.c.o
[CC] vp9/decoder/vp9_decodeframe.c.o
[CC] vp9/decoder/vp9_detokenize.c.o
[CC] vp9/decoder/vp9_dthread.c.o
[CC] vp9/decoder/vp9_decoder.c.o
[CC] vp9/decoder/vp9_dsubexp.c.o
[CC] vpx_config.c.o
[CREATE] vpx_config.asm
[AS] vpx_ports/emms.asm.o
Unrecognized input filetype at /Users/ssb/Projekte/ssb/AppleTV/_VLCKit/VLCKit/libvlc/vlc/extras/tools/build/bin/gas-preprocessor.pl line 95.
make[2]: *** [vpx_ports/emms.asm.o] Error 255
make[1]: *** [.DEFAULT] Error 2
make: *** [.vpx] Error 2
Any hints - and I will try any fix.
Well, and then report the follow up issues.