LINUX下载编译opusfile/opus-tools

  • 下载

https://www.opus-codec.org/downloads/

  • 编译openssl

https://blog.csdn.net/quantum7/article/details/104086731

  • 编译ogg

https://blog.csdn.net/quantum7/article/details/104086366

  • 编译脚本
BUILD_LIBS=$1
if [ "$1" == "" ]; then
    BUILD_LIBS=${HOME}/build_libs
fi

export PATH=${BUILD_LIBS}/bin:${PATH}
export PKG_CONFIG_PATH=${BUILD_LIBS}/lib/pkgconfig

make clean

./configure \
    --prefix=${BUILD_LIBS} \
    CFLAGS="-I${BUILD_LIBS}/include" \
    --LDFLAGS="-L${BUILD-LIBS}lib"

make
make install
发布了2538 篇原创文章 · 获赞 308 · 访问量 186万+

猜你喜欢

转载自blog.csdn.net/quantum7/article/details/104568843