MobileVLCKit for iOS Compiled Error

iOS, iPad, iPhone, tvOS specific usage questions
liftliftlift
New Cone
New Cone
Posts: 1
Joined: 16 Mar 2017 02:55

MobileVLCKit for iOS Compiled Error

Postby liftliftlift » 16 Mar 2017 03:58

I had downloaded the source code for MobileVLCKit(VLCKit-3.0.0-preComplie) from this page http://www.videolan.org/vlc/download-ios.html and tried to build it.
But it failed with error like this:

Code: Select all

sudo sh buildMobileVLCKit.sh -d [info] Preparing build dirs [proxychains] config file found: /usr/local/etc/proxychains.conf [proxychains] preloading /usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib [proxychains] DLL init: proxychains-ng 4.12 Cloning into 'vlc'... [proxychains] Strict chain ... 127.0.0.1:1080 ... git.videolan.org:9418 ... OK [proxychains] DLL init: proxychains-ng 4.12 remote: Counting objects: 510331, done. remote: Compressing objects: 100% (96424/96424), done. remote: Total 510331 (delta 415745), reused 505065 (delta 411667) Receiving objects: 100% (510331/510331), 178.92 MiB | 353.00 KiB/s, done. Resolving deltas: 100% (415745/415745), done. [proxychains] DLL init: proxychains-ng 4.12 [info] Applying patches to vlc.git [proxychains] config file found: /usr/local/etc/proxychains.conf [proxychains] preloading /usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib [proxychains] DLL init: proxychains-ng 4.12 Switched to a new branch 'localBranch' [proxychains] config file found: /usr/local/etc/proxychains.conf [proxychains] preloading /usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib [proxychains] DLL init: proxychains-ng 4.12 Branch localBranch set up to track remote branch master from origin. [proxychains] config file found: /usr/local/etc/proxychains.conf [proxychains] preloading /usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib [proxychains] DLL init: proxychains-ng 4.12 [proxychains] DLL init: proxychains-ng 4.12 Applying: arm_neon: added function macro to handle the underscore prefix for the iOS ARM ABI .git/rebase-apply/patch:60: new blank line at EOF. + warning: 1 line adds whitespace errors. Applying: deinterlace/merge: use a macro to fix compilation for iOS Applying: lib/media player: inherit deinterlace variable to achieve correct value on first use Applying: arm_neon: work-around libtool issue Applying: libvlc/media: re-parse if flags changed Applying: arm_neon: fix iOS linking Applying: disable neon volume plugin Applying: contrib/gcrypt: work-around a libtool limitation .git/rebase-apply/patch:29: trailing whitespace. .git/rebase-apply/patch:31: trailing whitespace. .git/rebase-apply/patch:35: trailing whitespace. .git/rebase-apply/patch:41: trailing whitespace. .git/rebase-apply/patch:49: trailing whitespace. warning: squelched 1 whitespace error warning: 6 lines add whitespace errors. Applying: src/misc: fix compilation for OS without fork() Applying: libvlc: hack to disable daemon mode Applying: contrib/gcrypt: fix tvOS compilation Applying: disable videotoolbox Applying: Revert "libvlc: refactor sfilter enabling/disabling" Applying: libvlc: expose a base set of freetype options to overwrite the default font Applying: contrib/harfbuzz: fix iOS compilation when CoreText is enabled .git/rebase-apply/patch:17: space before tab in indent. [with_coretext=no]) .git/rebase-apply/patch:24: trailing whitespace. .git/rebase-apply/patch:25: space before tab in indent. if $have_coretext; then .git/rebase-apply/patch:26: space before tab in indent. CORETEXT_CFLAGS= .git/rebase-apply/patch:29: space before tab in indent. AC_SUBST(CORETEXT_CFLAGS) warning: squelched 8 whitespace errors warning: 13 lines add whitespace errors. Applying: Add AC-3 pass-through Applying: contrib/gsm: fix compilation with Xcode 7.3 .git/rebase-apply/patch:21: trailing whitespace. .git/rebase-apply/patch:22: trailing whitespace. /* .git/rebase-apply/patch:23: trailing whitespace. * 4.2 FIXED POINT IMPLEMENTATION OF THE RPE-LTP CODER warning: 3 lines add whitespace errors. [proxychains] DLL init: proxychains-ng 4.12 [info] Building vlc [info] Building libvlc for Apple embedded OS style 'iPhone' [info] Using armv7 with SDK version 10.2 SDKROOT not specified, assuming /Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk [info] Building tools m4 too old libtool not found yasm not found ragel not found xz not found To-be-built packages: m4 libtool yasm ragel xz rm -f -R m4 && tar xvzf m4-1.4.16.tar.gz rm -f -R libtool && tar xvzf libtool-2.4.2.tar.gz rm -f -R automake && tar xvzf automake-1.14.tar.gz rm -f -R autoconf && tar xvzf autoconf-2.69.tar.gz x m4-1.4.16/ x m4-1.4.16/THANKS x m4-1.4.16/NEWSx libtool-2.4.2/ x m4-1.4.16/Makefile.am x m4-1.4.16/cfg.mk x m4-1.4.16/.version x m4-1.4.16/.tarball-version x m4-1.4.16/lib/ x m4-1.4.16/lib/spawn_faction_adddup2.c x m4-1.4.16/lib/signbitl.c x m4-1.4.16/lib/gl_anyhash_list2.hx automake-1.14/ x automake-1.14/bin/ x m4-1.4.16/lib/streq.h ... (here are some debug infomations) ... mv yasm-1.2.0 yasm && touch yasm (cd ragel; ./configure --prefix=/Users/futeli/Desktop/VLCKit-3.0.0-preComplie/MobileVLCKit/ImportedSources/vlc/extras/tools/build --disable-shared --enable-static && /Applications/Xcode8.app/Contents/Developer/usr/bin/make && /Applications/Xcode8.app/Contents/Developer/usr/bin/make install) ... (some checkings) ... mkdir -p /Users/futeli/Desktop/VLCKit-3.0.0-preComplie/MobileVLCKit/ImportedSources/vlc/extras/tools/build/bin cp gas/gas-preprocessor.pl /Users/futeli/Desktop/VLCKit-3.0.0-preComplie/MobileVLCKit/ImportedSources/vlc/extras/tools/build/bin/ touch .gas [info] Building contrib for iOS in '/Users/futeli/Desktop/VLCKit-3.0.0-preComplie/MobileVLCKit/ImportedSources/vlc/contrib/iPhoneOS-armv7' [info] LD FLAGS SELECTED = '-isysroot /Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk -L/Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/usr/lib -arch armv7 -Wl,-ios_version_min,7.0' /Users/futeli/Desktop/VLCKit-3.0.0-preComplie/MobileVLCKit/ImportedSources/vlc grep -- " libass-0.13.2.tar.gz$" "../../contrib/src/ass/SHA512SUMS" && (cd ../../contrib/tarballs && shasum -a 512 --check /dev/stdin) < "../../contrib/src/ass/SHA512SUMS" cb90ab042f23c81d905a9bb1fd57c15133ba10ff3d0fb0afbfe09322016e0163419cc872095e4a73738d8ff27d80935bad0840cc5865f2720c55e8af3af41834 libass-0.13.2.tar.gz libass-0.13.2.tar.gz: OK touch .sum-ass grep -- " libdvbpsi-1.3.0.tar.bz2$" "../../contrib/src/dvbpsi/SHA512SUMS" && (cd ../../contrib/tarballs && shasum -a 512 --check /dev/stdin) < "../../contrib/src/dvbpsi/SHA512SUMS" 59f097a1032e8cf461210128c7468da4204f077a61f68f2be3310e60004774157335cd7cba82271fcc89b7b6b17a12a06b6214357227ec9976281d9b50565c54 libdvbpsi-1.3.0.tar.bz2 libdvbpsi-1.3.0.tar.bz2: OK touch .sum-dvbpsi grep -- " libebml-1.3.3.tar.bz2$" "../../contrib/src/ebml/SHA512SUMS" && (cd ../../contrib/tarballs && shasum -a 512 --check /dev/stdin) < "../../contrib/src/ebml/SHA512SUMS" 3ae048b468272e5ff1dc813121c1addcbbe324cd466e4b43ccce5aca148095190c10196433db951529ff62c587cc2b9a3c0c713db7921825221babaf7d4e824d libebml-1.3.3.tar.bz2 libebml-1.3.3.tar.bz2: OK touch .sum-ebml rm -Rf ../../contrib/tarballs/ffmpeg-HEAD && git clone --depth 1 git://git.libav.org/libav.git ../../contrib/tarballs/ffmpeg-HEAD && (cd ../../contrib/tarballs/ffmpeg-HEAD && git checkout HEAD) && rm -Rf ../../contrib/tarballs/ffmpeg-HEAD/.git && (cd ../../contrib/tarballs/ && tar cvJ ffmpeg-HEAD) > ../../contrib/tarballs/ffmpeg-HEAD.tar.xz && rm -Rf ../../contrib/tarballs/ffmpeg-HEAD Cloning into '../../contrib/tarballs/ffmpeg-HEAD'... remote: Counting objects: 4104, done. remote: Compressing objects: 100% (3403/3403), done. ^Cfatal: index-pack failed62/4104), 2.21 MiB | 23.00 KiB/s ... [size=150](The download speed is too slow. I changed a proxy and retried it)[/size] sudo sh buildMobileVLCKit.sh -d -n [info] Preparing build dirs [info] Building vlc [info] Building libvlc for Apple embedded OS style 'iPhone' [info] Using armv7 with SDK version 10.2 SDKROOT not specified, assuming /Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk [info] Building tools You are ready to build VLC and its contribs make: `.gas' is up to date. [info] Building contrib for iOS in '/Users/futeli/Desktop/VLCKit-3.0.0-preComplie/MobileVLCKit/ImportedSources/vlc/contrib/iPhoneOS-armv7' [info] LD FLAGS SELECTED = '-isysroot /Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk -L/Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/usr/lib -arch armv7 -Wl,-ios_version_min,7.0' /Users/futeli/Desktop/VLCKit-3.0.0-preComplie/MobileVLCKit/ImportedSources/vlc rm -Rf ../../contrib/tarballs/ffmpeg-HEAD && proxychains4 git clone --depth 1 git://git.libav.org/libav.git ../../contrib/tarballs/ffmpeg-HEAD && (cd ../../contrib/tarballs/ffmpeg-HEAD && proxychains4 git checkout HEAD) && rm -Rf ../../contrib/tarballs/ffmpeg-HEAD/.git && (cd ../../contrib/tarballs/ && tar cvJ ffmpeg-HEAD) > ../../contrib/tarballs/ffmpeg-HEAD.tar.xz && rm -Rf ../../contrib/tarballs/ffmpeg-HEAD [proxychains] config file found: /usr/local/etc/proxychains.conf [proxychains] preloading /usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib Cloning into '../../contrib/tarballs/ffmpeg-HEAD'... fatal: unable to connect to git.libav.org: git.libav.org[0: 5.148.163.142]: errno=Operation timed out git.libav.org[1: 2a02:418:f022::1:0]: errno=No route to host make: *** [../../contrib/tarballs/ffmpeg-HEAD.tar.xz] Error 128 [info] Building vlc [info] Building libvlc for Apple embedded OS style 'iPhone' [info] Using i386 with SDK version 10.2 SDKROOT not specified, assuming /Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk [info] Building tools You are ready to build VLC and its contribs make: `.gas' is up to date. [info] Building contrib for iOS in '/Users/futeli/Desktop/VLCKit-3.0.0-preComplie/MobileVLCKit/ImportedSources/vlc/contrib/iPhoneSimulator-i386' [info] LD FLAGS SELECTED = '-isysroot /Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk -L/Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/usr/lib -arch i386 -v -Wl,-ios_version_min,7.0' /Users/futeli/Desktop/VLCKit-3.0.0-preComplie/MobileVLCKit/ImportedSources/vlc rm -Rf ../../contrib/tarballs/ffmpeg-HEAD && proxychains4 git clone --depth 1 git://git.libav.org/libav.git ../../contrib/tarballs/ffmpeg-HEAD && (cd ../../contrib/tarballs/ffmpeg-HEAD && proxychains4 git checkout HEAD) && rm -Rf ../../contrib/tarballs/ffmpeg-HEAD/.git && (cd ../../contrib/tarballs/ && tar cvJ ffmpeg-HEAD) > ../../contrib/tarballs/ffmpeg-HEAD.tar.xz && rm -Rf ../../contrib/tarballs/ffmpeg-HEAD [proxychains] config file found: /usr/local/etc/proxychains.conf [proxychains] preloading /usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib Cloning into '../../contrib/tarballs/ffmpeg-HEAD'... remote: Counting objects: 4104, done. remote: Compressing objects: 100% (3403/3403), done. remote: Total 4104 (delta 1008), reused 2190 (delta 540) Receiving objects: 100% (4104/4104), 8.69 MiB | 9.00 KiB/s, done. Resolving deltas: 100% (1008/1008), done. [proxychains] config file found: /usr/local/etc/proxychains.conf [proxychains] preloading /usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib Your branch is up-to-date with 'origin/master'. a ffmpeg-HEAD a ffmpeg-HEAD/.gitattributes a ffmpeg-HEAD/.gitignore a ffmpeg-HEAD/.travis.yml a ffmpeg-HEAD/avbuild ... ../../contrib/src/ffmpeg/rules.mak:192: Not implemented. touch .sum-ffmpeg grep -- " flac-1.3.1.tar.xz$" "../../contrib/src/flac/SHA512SUMS" && (cd ../../contrib/tarballs && shasum -a 512 --check /dev/stdin) < "../../contrib/src/flac/SHA512SUMS" 923cd0ffe2155636febf2b4633791bc83370d57080461b97ebb69ea21a4b1be7c0ff376c7fc8ca3979af4714e761112114a24b49ff6c80228b58b929db6e96d5 flac-1.3.1.tar.xz flac-1.3.1.tar.xz: OK touch .sum-flac grep -- " freetype-2.6.2.tar.gz$" "../../contrib/src/freetype2/SHA512SUMS" && (cd ../../contrib/tarballs && shasum -a 512 --check /dev/stdin) < "../../contrib/src/freetype2/SHA512SUMS" ... (some warnings) autoreconf: running: aclocal -I /Users/futeli/Desktop/VLCKit-3.0.0-preComplie/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-i386-apple-darwin11-i386/share/aclocal --force -I m4 rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory autoreconf: configure.ac: tracing configure: WARNING: using cross tools not prefixed with host triplet configure: WARNING: using cross tools not prefixed with host triplet rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory autoreconf: running: libtoolize --copy --force autoreconf: running: /Users/futeli/Desktop/VLCKit-3.0.0-preComplie/MobileVLCKit/ImportedSources/vlc/extras/tools/build/bin/autoconf --include=/Users/futeli/Desktop/VLCKit-3.0.0-preComplie/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-i386-apple-darwin11-i386/share/aclocal --force autoreconf: running: /Users/futeli/Desktop/VLCKit-3.0.0-preComplie/MobileVLCKit/ImportedSources/vlc/extras/tools/build/bin/autoheader --include=/Users/futeli/Desktop/VLCKit-3.0.0-preComplie/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-i386-apple-darwin11-i386/share/aclocal --force autoreconf: running: automake --add-missing --copy --force-missing lib/Headers.mk:22: warning: shell cat $(top_srcdir: non-POSIX variable name lib/Headers.mk:22: (probably a GNU make extension) doc/Makefile.am:26: 'lib/Headers.mk' included from here lib/Headers.mk:22: warning: shell cat $(top_srcdir: non-POSIX variable name lib/Headers.mk:22: (probably a GNU make extension) lib/Makefile.am:28: 'lib/Headers.mk' included from here test/Makefile.am:30: warning: '%'-style pattern rules are a GNU make extension autoreconf: Leaving directory `.' rm: conftest.dSYM: is a directory configure: WARNING: using cross tools not prefixed with host triplet rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory ... Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: i386-apple-darwin15.6.0 Thread model: posix InstalledDir: /Applications/Xcode8.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin "/Applications/Xcode8.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch i386 -ios_simulator_version_min 7.0.0 -syslibroot /Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk -o vp3huff -L/Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk/usr/lib -L/Users/futeli/Desktop/VLCKit-3.0.0-preComplie/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-i386-apple-darwin11-i386/lib -ios_version_min 7.0 -ios_version_min 7.0 -ios_version_min 7.0 vp3huff.o -lSystem /Applications/Xcode8.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/lib/darwin/libclang_rt.ios.a configure: WARNING: unrecognized options: --disable-dependency-tracking examples/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') lib/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure: WARNING: using cross tools not prefixed with host triplet test/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') vq/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoreconf: Leaving directory `.' rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory configure: WARNING: using cross tools not prefixed with host triplet rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory make: *** [.ffmpeg] Error 1 make: *** Waiting for unfinished jobs.... configure: WARNING: unrecognized options: --disable-dependency-tracking
Finally it seems like failing with ffmpeg building error.
What's the problem and how to solve it? My MAC OS X version is 10.11.6 and using Xcode 8.2.1.

ssbmaccom
Cone that earned his stripes
Cone that earned his stripes
Posts: 184
Joined: 26 Nov 2015 15:21
Operating System: Mac OS, iOS, tvOS

Re: MobileVLCKit for iOS Compiled Error

Postby ssbmaccom » 19 Mar 2017 15:41

When you run the build script, add the -v option.
It gives more info, but even more valuable, it will only execute one make job at the time. This makes it much easier to relate the error to the issue causing the error


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

Who is online

Users browsing this forum: No registered users and 22 guests