Can't compile VLCKit for iOS (speexdsp?)

iOS, iPad, iPhone, tvOS specific usage questions
awfulcode
Blank Cone
Blank Cone
Posts: 14
Joined: 01 Oct 2013 18:45

Can't compile VLCKit for iOS (speexdsp?)

Postby awfulcode » 30 Jun 2014 20:17

Cloned the git, ran ./buildMobileVLCKit.sh and... fail. Seems to be something with the speexdsp patch? Are you getting this as well? What can I do to fix it?

Thanks!

Code: Select all

make: *** [speexdsp] Error 1 ** 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)

chrise92
New Cone
New Cone
Posts: 6
Joined: 01 Jul 2014 15:43

Re: Can't compile VLCKit for iOS (speexdsp?)

Postby chrise92 » 01 Jul 2014 15:45

Same problem...
Have you found an solution?
Last edited by chrise92 on 01 Jul 2014 17:53, edited 1 time in total.

dclarke58
New Cone
New Cone
Posts: 4
Joined: 01 Jul 2014 17:18

Re: Can't compile VLCKit for iOS (speexdsp?)

Postby dclarke58 » 01 Jul 2014 17:34

I have been experiencing a similar problem for the past several days. I am assuming that speexdsp is still out of sync.

Snippet from my latest attempt:

Code: Select all

(cd speexdsp-git && patch -fp1) < ../../contrib/src/speexdsp/neon.patch patching file configure.ac patching file libspeexdsp/resample.c patching file configure.ac patching file libspeexdsp/arch.h patching file libspeexdsp/fixed_generic.h patching file libspeexdsp/resample.c Hunk #2 FAILED at 364. 1 out of 3 hunks FAILED -- saving rejects to file libspeexdsp/resample.c.rej patching file libspeexdsp/resample_neon.h patching file libspeexdsp/resample_neon.h make: *** [speexdsp] 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 (2 failures)

chrise92
New Cone
New Cone
Posts: 6
Joined: 01 Jul 2014 15:43

Re: Can't compile VLCKit for iOS (speexdsp?)

Postby chrise92 » 01 Jul 2014 19:33

So heres my error

Code: Select all

CKit/MobileVLCKit/ImportedSources/vlc/contrib/arm-apple-darwin11-armv7/share/aclocal --force configure.ac:45: error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/local/bin/autoconf failed with exit status: 1 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
Last edited by chrise92 on 01 Jul 2014 20:24, edited 1 time in total.

awfulcode
Blank Cone
Blank Cone
Posts: 14
Joined: 01 Oct 2013 18:45

Re: Can't compile VLCKit for iOS (speexdsp?)

Postby awfulcode » 01 Jul 2014 19:36

Looks like we need to find a way of compiling without it, or force a previous version of the repository. I guess that's what I'm doing tonight...

chrise92
New Cone
New Cone
Posts: 6
Joined: 01 Jul 2014 15:43

Re: Can't compile VLCKit for iOS (speexdsp?)

Postby chrise92 » 01 Jul 2014 23:14

any ideas ??
nobody??

awfulcode
Blank Cone
Blank Cone
Posts: 14
Joined: 01 Oct 2013 18:45

Re: Can't compile VLCKit for iOS (speexdsp?)

Postby awfulcode » 02 Jul 2014 04:07

Found the bug reported here: https://trac.videolan.org/vlc/ticket/11702, but it was marked as worksforme. Still trying to properly disable it...

dclarke58
New Cone
New Cone
Posts: 4
Joined: 01 Jul 2014 17:18

Re: Can't compile VLCKit for iOS (speexdsp?)

Postby dclarke58 » 02 Jul 2014 15:28

I'm receiving a different failure each time an attempt is made to build this project. However I receive no errors building VLC for MAC OS. Wish I knew how to fix this!

Think all of us are frustrated...

mrucproj
New Cone
New Cone
Posts: 3
Joined: 27 Jun 2014 01:13

Re: Can't compile VLCKit for iOS (speexdsp?)

Postby mrucproj » 02 Jul 2014 17:22

I am having the same issue, build fails due to speexdsp.

chrise92
New Cone
New Cone
Posts: 6
Joined: 01 Jul 2014 15:43

Re: Can't compile VLCKit for iOS (speexdsp?)

Postby chrise92 » 03 Jul 2014 10:32

Problem should be fixed (https://trac.videolan.org/vlc/ticket/11702)
but its not working for me...

has anyone tried it again???

dclarke58
New Cone
New Cone
Posts: 4
Joined: 01 Jul 2014 17:18

Re: Can't compile VLCKit for iOS (speexdsp?)

Postby dclarke58 » 03 Jul 2014 16:11

It just failed on me, but for a different reason this time. It could be an isolated problem with my system configuration, but here's a snippet of the errors received. Anyone else receiving errors similar to these?:

Code: Select all

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/rooadmin/IOS_Projects/vlc/ios/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/install-ios-OS/armv7/contribs/lib/libass.a (No such file or directory) error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/rooadmin/IOS_Projects/vlc/ios/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/install-ios-OS/armv7/contribs/lib/libavutil.a (No such file or directory) . . . error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/rooadmin/IOS_Projects/vlc/ios/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/install-ios-OS/armv7s/lib/libvlccore.a (No such file or directory) ** 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 (2 failures)

chrise92
New Cone
New Cone
Posts: 6
Joined: 01 Jul 2014 15:43

Re: Can't compile VLCKit for iOS (speexdsp?)

Postby chrise92 » 04 Jul 2014 00:29

New error Message since 1 hours

Code: Select all

cd libgpg-error && /Applications/Xcode.app/Contents/Developer/usr/bin/make install Making install in m4 make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in src awk -f ./mkerrnos.awk ./errnos.in >code-to-errno.h awk -f ./mkerrcodes1.awk ./errnos.in >_mkerrcodes.h xcrun cc -E -arch armv7 -mcpu=cortex-a8 -miphoneos-version-min=5.1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -arch armv7 -miphoneos-version-min=5.1 -O3 -g -mcpu=cortex-a8 -I/Users/+++++++++/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/arm-apple-darwin11-armv7/include _mkerrcodes.h | grep GPG_ERR_ | \ awk -f ./mkerrcodes.awk >mkerrcodes.h rm _mkerrcodes.h cc -I. -I. -o mkerrcodes ./mkerrcodes.c ./mkerrcodes | awk -f ./mkerrcodes2.awk >code-from-errno.h awk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \ ./err-sources.h.in >err-sources-sym.h awk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \ ./err-codes.h.in >err-codes-sym.h awk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \ -v prefix=GPG_ERR_ -v namespace=errnos_ \ ./errnos.in >errnos-sym.h cc -g -O0 -I. -I. -o mkheader ./mkheader.c rm lock-obj-pub.native.h 2>/dev/null make[2]: [gpg-error.h] Error 1 (ignored) ./mkheader darwin11 arm-apple-darwin11 ./gpg-error.h.in \ 1.13 0x010d00 >gpg-error.h ./gpg-error.h.in:289: error including `./syscfg/lock-obj-pub.darwin11.h': No such file or directory make[2]: *** [gpg-error.h] Error 1 make[1]: *** [install-recursive] Error 1 make: *** [.gpg-error] Error 2 [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)
Anyone knows whats wrong?

ddavies
New Cone
New Cone
Posts: 9
Joined: 18 Jun 2014 22:06

Re: Can't compile VLCKit for iOS (speexdsp?)

Postby ddavies » 04 Jul 2014 05:56

I cloned the project a few minutes ago and it failed to build. I didn't see anything about speexdsp errors. Here is the final portion of the log.

Code: Select all

In file included from /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/modules/access/live555.cpp:38: In file included from ../config.h:788: In file included from /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/include/vlc_fixups.h:70: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/include/dirent.h:65: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/include/sys/dirent.h:112:15: error: unknown type name '__uint64_t'; did you mean '__uint128_t'? struct dirent __DARWIN_STRUCT_DIRENTRY; ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/include/sys/dirent.h:103:2: note: expanded from macro '__DARWIN_STRUCT_DIRENTRY' __uint64_t d_ino; /* file number of entry */ \ ^ note: '__uint128_t' declared here /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/include/sys/dirent.h:112:15: error: unknown type name '__uint64_t'; did you mean '__uint128_t'? /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/include/sys/dirent.h:104:2: note: expanded from macro '__DARWIN_STRUCT_DIRENTRY' __uint64_t d_seekoff; /* seek offset (optional, used by servers) */ \ ^ note: '__uint128_t' declared here fatal error: too many errors emitted, stopping now [-ferror-limit=] /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/modules/access/http.c:430:18: warning: 'vlc_object_alive' is deprecated [-Wdeprecated-declarations] if( !vlc_object_alive (p_access) || Connect( p_access, 0 ) ) ^ /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/include/vlc_objects.h:77:29: note: expanded from macro 'vlc_object_alive' #define vlc_object_alive(a) vlc_object_alive( VLC_OBJECT(a) ) ^ /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/include/vlc_objects.h:76:38: note: 'vlc_object_alive' declared here VLC_API VLC_USED VLC_DEPRECATED bool vlc_object_alive (vlc_object_t *); ^ /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/modules/access/http.c:773:35: warning: 'vlc_object_alive' is deprecated [-Wdeprecated-declarations] if( p_sys->b_reconnect && vlc_object_alive( p_access ) ) ^ /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/include/vlc_objects.h:77:29: note: expanded from macro 'vlc_object_alive' #define vlc_object_alive(a) vlc_object_alive( VLC_OBJECT(a) ) ^ /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/include/vlc_objects.h:76:38: note: 'vlc_object_alive' declared here VLC_API VLC_USED VLC_DEPRECATED bool vlc_object_alive (vlc_object_t *); ^ /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/modules/access/http.c:966:17: warning: unused variable 'p_meta' [-Wunused-variable] vlc_meta_t *p_meta; ^ /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/modules/access/http.c:1119:22: warning: 'vlc_object_alive' is deprecated [-Wdeprecated-declarations] if( !vlc_object_alive (p_access) || p_sys->b_error ) ^ /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/include/vlc_objects.h:77:29: note: expanded from macro 'vlc_object_alive' #define vlc_object_alive(a) vlc_object_alive( VLC_OBJECT(a) ) ^ /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/include/vlc_objects.h:76:38: note: 'vlc_object_alive' declared here VLC_API VLC_USED VLC_DEPRECATED bool vlc_object_alive (vlc_object_t *); ^ /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/modules/access/http.c:1292:14: warning: 'vlc_object_alive' is deprecated [-Wdeprecated-declarations] if( !vlc_object_alive (p_access) || p_sys->b_error ) ^ /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/include/vlc_objects.h:77:29: note: expanded from macro 'vlc_object_alive' #define vlc_object_alive(a) vlc_object_alive( VLC_OBJECT(a) ) ^ /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/include/vlc_objects.h:76:38: note: 'vlc_object_alive' declared here VLC_API VLC_USED VLC_DEPRECATED bool vlc_object_alive (vlc_object_t *); ^ 2 warnings and 20 errors generated. make[4]: *** [access/liblive555_plugin_la-live555.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/modules/access/avio.c:73:13: warning: 'vlc_object_alive' is deprecated [-Wdeprecated-declarations] return !vlc_object_alive((vlc_object_t*)access); ^ /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/include/vlc_objects.h:77:29: note: expanded from macro 'vlc_object_alive' #define vlc_object_alive(a) vlc_object_alive( VLC_OBJECT(a) ) ^ /Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/include/vlc_objects.h:76:38: note: 'vlc_object_alive' declared here VLC_API VLC_USED VLC_DEPRECATED bool vlc_object_alive (vlc_object_t *); ^ 1 warning generated. 5 warnings generated. make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 [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)

ddavies
New Cone
New Cone
Posts: 9
Joined: 18 Jun 2014 22:06

Re: Can't compile VLCKit for iOS (speexdsp?)

Postby ddavies » 04 Jul 2014 06:14

i tried it again with the -s option and got some different errors.

Code: Select all

/Projects/VLCKit/MobileVLCKit/ImportedSources/vlc/modules/audio_output/auhal.c:38:9: fatal error: 'CoreAudio/CoreAudio.h' file not found #import <CoreAudio/CoreAudio.h> // AudioDeviceID ^ 1 error generated. make[4]: *** [audio_output/auhal.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 [info] Building MobileVLCKit (Aggregate static plugins, Release) [info] Building MobileVLCKit (MobileVLCKit, Release) ** BUILD FAILED ** The following build commands failed: Libtool build/MobileVLCKit.build/Release-iphonesimulator/MobileVLCKit.build/Objects-normal/i386/libMobileVLCKit.a normal i386 Libtool build/MobileVLCKit.build/Release-iphonesimulator/MobileVLCKit.build/Objects-normal/x86_64/libMobileVLCKit.a normal x86_64 (2 failures)

chrise92
New Cone
New Cone
Posts: 6
Joined: 01 Jul 2014 15:43

Re: Can't compile VLCKit for iOS (speexdsp?)

Postby chrise92 » 09 Jul 2014 08:40

Has anyone solved these problem?

ddavies
New Cone
New Cone
Posts: 9
Joined: 18 Jun 2014 22:06

Re: Can't compile VLCKit for iOS (speexdsp?)

Postby ddavies » 11 Jul 2014 09:15

i did a new pull a little while ago and the build was successful.


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

Who is online

Users browsing this forum: No registered users and 15 guests