系统相关
首页 > 系统相关> > linux上安装openal

linux上安装openal

作者:互联网

GitHub - JogAmp/openal-soft: Original: git://repo.or.cz/openal-soft.giticon-default.png?t=LA92https://github.com/JogAmp/openal-soft

1、下载安装包

OpenAL Soft - Software 3D Audio

https://openal-soft.org/openal-releases/openal-soft-1.21.1.tar.bz2

或者:git 

git clone https://github.com/JogAmp/openal-soft.git

2、安装

cd openal-soft 
cd build 
cmake .. 
make 

3、如果没有错误,然后安装:

sudo make install 

4、配置

sudo ln /usr/local/lib/libopenal.so.1 /usr/lib/libopenal.so.1
sudo ldconfig

5、就可以使用了

gcc test.cpp -o test -lopenal
./test

标签:git,JogAmp,soft,sudo,openal,linux,test,安装
来源: https://blog.csdn.net/qq_34754747/article/details/121342815