- 下载
https://kcat.strangesoft.net/openal-releases/
- 解压
tar xf openal-soft-1.20.1.tar.bz2
cd openal-soft-1.20.1/
- 编译
BUILD_LIBS=${HOME}/build_libs
export PATH=${BUILD_LIBS}/bin:${PATH}
export PKG_CONFIG_PATH=${BUILD_LIBS}/lib/pkgconfig:${PKG_CONFIG_PATH}
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=${BUILD_LIBS} ..
来源:CSDN
作者:柳鲲鹏
链接:https://blog.csdn.net/quantum7/article/details/104136755