V3s@Linux编译speex编解码库
1. 选择合适的工具链:
export PATH=/usr/local/arm-2014.05/bin/:$PATH
1. 下载编译libogg:
wget http://downloads.xiph.org/releases/ogg/libogg-1.3.3.tar.gz
tar xvf libogg-1.3.3.tar.gz
cd libogg-1.3.3
./configure --host=arm-linux --prefix=/usr/local/arm-2014.05/arm-none-linux-gnueabi/
make;make install;
3. 下载编译 speex:
wget http://downloads.us.xiph.org/releases/speex/speex-1.2.0.tar.gz
tar xvf speex-1.2.0.tar.gz
cd speex-1.2.0
./configure --host=arm-linux --prefix=/usr/local/arm-2014.05/arm-none-linux-gnueabi/
make;make install;
离线