faad2是AAC音频解码器,网址,或者GitHub。
如果网址失效,可从下图提取源码文件:
解压后进入目录,执行命令
./bootstrap。
chmod +x bootstrap
./bootstrap
稍等片刻既生成configure文件。
如果提示 "./bootstrap: 12: ./bootstrap: aclocal: not found" 错误,需先安装 automake。
如果提示 "./bootstrap: 14: ./bootstrap: libtoolize: not found" 错误,需先安装 libtool。
sudo apt-get install automake
sudo apt-get install libtool
生成configure文件后执行该命令可生成 Makefile文件:
./configure --host=arm-linux-gnueabihf CC=arm-linux-gnueabihf-gcc --enable-shared --prefix=/home/xk/faad2
最后执行make和make install,编译好的文件被放到/home/xk/faad2目录。
make
make install











网友评论