VLC IOS source code version 2.7.8 compilation error on MAC OS sierra 10.12.5 Xcode 8.3.2

This forum is about all development around libVLC.
hassaan
New Cone
New Cone
Posts: 1
Joined: 24 May 2017 12:42

VLC IOS source code version 2.7.8 compilation error on MAC OS sierra 10.12.5 Xcode 8.3.2

Postby hassaan » 24 May 2017 13:05

I am trying to compile VLC source code 2.7.8 on macOS sierra 10.12.5, I have xcode version 8.3.2
I used sh compileVLCforiOS.sh command and it took almost 1 and half hour on compilation process and then I got the following error. Why I am getting this error and what should I do to get rid of this error ? Thanks in advance

Code: Select all

libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. autoreconf: running: /vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/extras/tools/build/bin/autoconf --include=/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-x86_64-apple-darwin11-x86_64/share/aclocal --force autoreconf: running: /vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/extras/tools/build/bin/autoheader --include=/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-x86_64-apple-darwin11-x86_64/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 `.' cd fribidi && CC="xcrun clang" CXX="xcrun clang++" LD="xcrun ld" AR="xcrun ar" CCAS="xcrun clang -c" RANLIB="xcrun ranlib" STRIP="xcrun strip" PATH="/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-x86_64-apple-darwin11-x86_64/bin:/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/extras/tools/build/bin:/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/extras/tools/build/bin:/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/x86_64-apple-darwin11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin" CPPFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -arch x86_64 -O3 -g -miphoneos-version-min=7.0 -arch x86_64 -miphoneos-version-min=7.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -arch x86_64 -O3 -g -miphoneos-version-min=7.0 -I/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-x86_64-apple-darwin11-x86_64/include" CFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -arch x86_64 -O3 -g -miphoneos-version-min=7.0 -arch x86_64 -miphoneos-version-min=7.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -arch x86_64 -O3 -g -miphoneos-version-min=7.0 -I/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-x86_64-apple-darwin11-x86_64/include -g" CXXFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -arch x86_64 -O3 -g -miphoneos-version-min=7.0 -arch x86_64 -miphoneos-version-min=7.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -arch x86_64 -O3 -g -miphoneos-version-min=7.0 -arch x86_64 -miphoneos-version-min=7.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -arch x86_64 -O3 -g -miphoneos-version-min=7.0 -I/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-x86_64-apple-darwin11-x86_64/include -g -I/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-x86_64-apple-darwin11-x86_64/include -g" LDFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk/usr/lib -arch x86_64 -v -Wl,-ios_version_min,7.0 -Wl,-ios_version_min,7.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk/usr/lib -arch x86_64 -v -Wl,-ios_version_min,7.0 -L/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-x86_64-apple-darwin11-x86_64/lib" ./configure --prefix="/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-x86_64-apple-darwin11-x86_64" --datarootdir="/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-x86_64-apple-darwin11-x86_64/share" --includedir="/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-x86_64-apple-darwin11-x86_64/include" --libdir="/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-x86_64-apple-darwin11-x86_64/lib" --build="x86_64-apple-darwin11" --host="x86_64-apple-darwin11" --target="x86_64-apple-darwin11" --program-prefix="" --enable-static --disable-shared --disable-dependency-tracking --with-pic checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for x86_64-apple-darwin11-gcc... xcrun clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/VLC_iOS/vlc/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhoneSimulator-x86_64/fribidi': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details make: *** [.fribidi] Error 1

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC IOS source code version 2.7.8 compilation error on MAC OS sierra 10.12.5 Xcode 8.3.2

Postby Jean-Baptiste Kempf » 11 Jun 2017 16:24

look in the logs, but it seems your environment is incorrectly setup.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

waqar_alii
New Cone
New Cone
Posts: 2
Joined: 30 Jun 2017 08:03

Re: VLC IOS source code version 2.7.8 compilation error on MAC OS sierra 10.12.5 Xcode 8.3.2

Postby waqar_alii » 30 Jun 2017 08:08

@Jean-Baptiste Kempf thanks for your reply, will you please tell the supported environment for this version( 2.7.8 ) of vlc iOS source code ? Thanks


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 25 guests