vlc-android编译流程

 

原文:http://blog.csdn.net/wowdd1/archive/2011/03/20/6262845.aspx
操作系统: 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  ,如果想要在模拟器上运行,还得   export NO_NEON=1

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

你可能感兴趣的:(eclipse,android,ubuntu,Build,subversion,工具)