提示缺少./bootstrap: line 12: aclocal: command not found
解决: sudo apt-get install autoconf
编译faad2-2.7库
chmod +x bootstrap
dos2unix bootstrap
./bootstrap
./configure CXX=arm-hisiv300-linux-g++ CC=arm-hisiv300-linux-gcc --host=arm-linux LIBS="-lm"
make
make install
//编译你的程序
OBJ_BIN=./aac_lib_v300/faad-demo
arm-hisiv300-linux-gcc faad-demo.c -o $OBJ_BIN -L/usr/local/lib -lfaad -I/usr/local/include -lsupc++
linux下编译faad2-2.7
最新推荐文章于 2024-07-08 18:07:32 发布