操作系统: ubuntu10.10
ndk: android-ndk-r5b
android-sdk: 2.2
编译流程:
1.   cd ~ | mkdir code
      cd ~/code
2.   git clone git://git.videolan.org/vlc/vlc-android.git
3.   cd vlc-android/extras/contrib/
4.   export ANDROID_NDK=/usr/local/android-ndk-r5b
5.    ./bootstrap -t arm-eabi -d android
6.   安装以下工具:
      sudo apt-get install wget
      sudo apt-get install autoconf
      sudo apt-get install libtool
      sudo apt-get install subversion
7.   make
8.   cd ~/code/vlc-android
9.   ./bootstrap
10. mkdir builddir
11. cd builddir
12. ../extras/package/android/configure.sh
13. ./compile -k
14. cd ~/code/vlc-android/extras/package/android
15. export ANDROID_SDK=/usr/local/android-sdk
16. VLC_BUILD_DIR=~/code/vlc-android/builddir VLC_CONTRIB=~/code/vlc-android/extras/contrib/build make
17.用Eclipse导入~/code/vlc-android/extras/package/android/vlc-android


posted on 2011-05-11 19:21  一个人的天空@  阅读(880)  评论(0编辑  收藏  举报