系统相关
首页 > 系统相关> > Linux编译openal源码

Linux编译openal源码

作者:互联网

1下载压缩包

2 最好安装较为新的cmake

3 进入openal代码层目录

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

 

标签:cmake,openal,源码,export,BUILD,Linux,LIBS,PATH,build
来源: https://www.cnblogs.com/8335IT/p/16499802.html