编译xerces-c (静态库)——sourceforge
http://sourceforge.net/p/smartbody/mailman/message/32847427/
阅读(36) | 评论(0) | 转发(0) |
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
Revision: 5852 http://sourceforge.net/p/smartbody/code/5852 Author: fastict Date: 2014-09-19 05:11:13 +0000 (Fri, 19 Sep 2014) Log Message: ----------- branch - android - newly compiled libsndfile for android ndk platform: Ubuntu 13.04 Android NDK r10 Steps documented here: https://confluence.ict.usc.edu/display/VHTK/Building+the+Toolkit#BuildingtheToolkit-3rdPartyInstructions ------- 5. libsndfile http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz tar zxvf libsndfile-1.0.25.tar.gz create file setup.sh: modify DEV_HOME as required #!/bin/sh export DEV_HOME="/var/chroot/home/fast/Desktop/installers/android" export NDK_ROOT="$DEV_HOME/android-ndk-r10" export TOOLCHAIN="$NDK_ROOT/platforms/android-9/arch-arm" export ARMVERSION=7 export SYSROOT="$TOOLCHAIN" export CFLAGS="-march=armv$ARMVERSION -mthumb --pipe --sysroot=$SYSROOT -I$SYSROOT/usr/include -I$NDK_ROOT/sources/cxx-stl/stlport/stlport -I$NDK_ROOT/sources/cxx-stl/gabi++/include -I$NDK_ROOT/sources/cxx-stl/gnu-libstdc++/4.6/include" export CPPFLAGS="$CFLAGS" export CXXFLAGS="$CFLAGS" export LDFLAGS="-L$SYSROOT/usr/lib/ -L$SYSROOT/usr/lib/system -L$NDK_ROOT/sources/cxx-stl/gabi++/libs/armeabi -L$NDK_ROOT/sources/cxx-stl/libs/armeabi -L$NDK_ROOT/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi -lgnustl_static -lsupc++" export CPATH="$NDK_ROOT/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin" export CPP="$CPATH/arm-linux-androideabi-cpp" export CXX="$CPATH/arm-linux-androideabi-g++" export CC="$CPATH/arm-linux-androideabi-gcc" export LD="$CPATH/arm-linux-androideabi-ld" export AR="$CPATH/arm-linux-androideabi-ar" ./configure \ --host="arm-linux-eabi" \ --disable-external-libs \ --disable-sqlite run ./setup.sh make copy ./src/.libs/libxerces-c.a to /android/lib Revision Links: -------------- http://sourceforge.net/p/smartbody/code/10 http://sourceforge.net/p/smartbody/code/10 Modified Paths: -------------- branches/fast/smartbody-toolkit-5542/android/lib/libsndfile.a This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
相关热门文章
给主人留下些什么吧!~~
评论热议