- 下载
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} rm -rf build mkdir build cd build cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=${BUILD_LIBS} .. make make install