Page 1 of 1
Cannot Compile VLC for iOS
Posted: 27 Jun 2014 02:11
by mrucproj
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.
Re: Cannot Compile VLC for iOS
Posted: 03 Jul 2014 22:32
by fkuehne
This will be resolved tonight.
Re: Cannot Compile VLC for iOS
Posted: 06 Aug 2014 14:07
by Julien Chevet
I am also having the same issue exactly as described above. Has there been any update?
Re: Cannot Compile VLC for iOS
Posted: 06 Aug 2014 16:22
by pkazmi
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)
Re: Cannot Compile VLC for iOS
Posted: 12 Aug 2014 09:26
by pkazmi
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
Re: Cannot Compile VLC for iOS
Posted: 13 Aug 2014 11:58
by Julien Chevet
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 ?
Re: Cannot Compile VLC for iOS
Posted: 19 Aug 2014 06:52
by tkirke
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