Cannot Compile VLC for iOS

iOS, iPad, iPhone, tvOS specific usage questions
mrucproj
New Cone
New Cone
Posts: 3
Joined: 27 Jun 2014 01:13

Cannot Compile VLC for iOS

Postby mrucproj » 27 Jun 2014 02:11

I am not able to compile vlc app for iOS, with the latest github. I am following the instructions given in
https://wiki.videolan.org/iOSCompile. I have been trying this since about 2 days now, but no luck.
My environment is Mac OSX 10.9.3, iOS SDK 7.1, Xcode 5.1.1.
I have uploaded the compilation output below.

https://www.dropbox.com/s/6epfl0g69no6e ... avedOutput

Any help will be appreciated.

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Cannot Compile VLC for iOS

Postby fkuehne » 03 Jul 2014 22:32

This will be resolved tonight.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

Julien Chevet
New Cone
New Cone
Posts: 2
Joined: 06 Aug 2014 14:05

Re: Cannot Compile VLC for iOS

Postby Julien Chevet » 06 Aug 2014 14:07

I am also having the same issue exactly as described above. Has there been any update?

pkazmi
New Cone
New Cone
Posts: 2
Joined: 06 Aug 2014 16:20

Re: Cannot Compile VLC for iOS

Postby pkazmi » 06 Aug 2014 16:22

Have similar problem all day:

Code: Select all

x win32/speexenc/speexenc.dsw (cd speex-git && patch -fp1) < ../../contrib/src/speex/0001-Add-disable-binaries-option-to-build-only-the-librar.patch patching file configure.ac Hunk #1 FAILED at 109. Hunk #2 FAILED at 345. 2 out of 2 hunks FAILED -- saving rejects to file configure.ac.rej make: *** [speex] Error 1 [info] Building MobileVLCKit (Aggregate static plugins, Release) [info] Building MobileVLCKit (MobileVLCKit, Release) ** BUILD FAILED ** The following build commands failed: Libtool build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/libMobileVLCKit.a normal armv7 Libtool build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7s/libMobileVLCKit.a normal armv7s Libtool build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/arm64/libMobileVLCKit.a normal arm64 (3 failures)

pkazmi
New Cone
New Cone
Posts: 2
Joined: 06 Aug 2014 16:20

Re: Cannot Compile VLC for iOS

Postby pkazmi » 12 Aug 2014 09:26

after Felix Paul buildMobileVLCKit.sh update from 9 Aug problem resolved. New issue:

Code: Select all

t-lock.c:296:21: error: implicit declaration of function 'getpid' is invalid in C99 [-Werror,-Wimplicit-function-declaration] srand (time(NULL)*getpid()); ^ 1 error generated. make[2]: *** [t-lock.o] Error 1 make[1]: *** [install-recursive] Error 1 make: *** [.gpg-error] Error 2

Julien Chevet
New Cone
New Cone
Posts: 2
Joined: 06 Aug 2014 14:05

Re: Cannot Compile VLC for iOS

Postby Julien Chevet » 13 Aug 2014 11:58

after Felix Paul buildMobileVLCKit.sh update from 9 Aug problem resolved. New issue:

Code: Select all

t-lock.c:296:21: error: implicit declaration of function 'getpid' is invalid in C99 [-Werror,-Wimplicit-function-declaration] srand (time(NULL)*getpid()); ^ 1 error generated. make[2]: *** [t-lock.o] Error 1 make[1]: *** [install-recursive] Error 1 make: *** [.gpg-error] Error 2
I've got the exact same issue, can you update please ?

tkirke
New Cone
New Cone
Posts: 1
Joined: 18 Aug 2014 08:47

Re: Cannot Compile VLC for iOS

Postby tkirke » 19 Aug 2014 06:52

You can get past this problem by adding
#include <unistd.h> at top of t-lock.c file (for arm64)
After that everything compiled OK for me


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

Who is online

Users browsing this forum: No registered users and 14 guests