我尝试为iOS构建VLC,下面是我的步骤:
mkdir vlc
cd vlc
git clone git://git.videolan.org/vlc-ports/ios.git
cd vlc/ios
./buildMobileVLC.sh -k iphoneos6.1
最后得到错误,即:
...
[info] Removing unneeded modules
~/Documents/VLC/ios/ImportedSources/vlc/extras/package/ios
[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)
然后我清理并重建它,没有明确的错误消息,构建消息的最后一部分是:
/Users/Awin/Documents/VLC/ios/ImportedSources/vlc/lib/media_player.c:1274:25: warning: implicit conversion from enumeration type 'enum input_query_e' to different enumeration type 'vlc_action_t' (aka 'enum vlc_action')
[-Wenum-conversion]
INPUT_NAV_LEFT, INPUT_NAV_RIGHT,
^~~~~~~~~~~~~~~
1 warning generated.
7 warnings generated.
[info] Installing libvlc
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/Awin/Documents/VLC/ios/ImportedSources/vlc/install-ios-OS/armv7/lib/vlc/libcompat.a(dummy.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/Awin/Documents/VLC/ios/ImportedSources/vlc/install-ios-OS/armv7/lib/vlc/libcompat.a(tdestroy.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/Awin/Documents/VLC/ios/ImportedSources/vlc/install-ios-OS/armv7/lib/libvlccore.a(cache.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/Awin/Documents/VLC/ios/ImportedSources/vlc/install-ios-OS/armv7/lib/libvlccore.a(update_crypto.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/Awin/Documents/VLC/ios/ImportedSources/vlc/install-ios-OS/armv7/lib/vlc/plugins/control/libmotion_plugin.a(libmotion_plugin_la-unimotion.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/Awin/Documents/VLC/ios/ImportedSources/vlc/install-ios-OS/armv7/lib/vlc/plugins/video_filter/librotate_plugin.a(librotate_plugin_la-unimotion.o) has no symbols
[info] Removing unneeded modules
~/Documents/VLC/ios/ImportedSources/vlc/extras/package/ios
[info] Building MobileVLCKit (Aggregate static plugins, Release)
[info] Building MobileVLCKit (MobileVLCKit, Release)
** BUILD FAILED **"
我该如何解决?谢谢!