How to install OpenAL SDK on Ubuntu?

荒凉一梦 提交于 2021-01-21 11:25:34

问题


I'm very new to Linux and programming on Linux. I'm trying to install OpenAL SDK on ubuntu ... My best guess is that I will need to download OpenAL from the CVS repo. I found a tutorial: http://www.edenwaith.com/products/pige/tutorials/openal.php

However, when I try to run the terminal command this is what happens:

steven@ubuntu:~$ cvs -d:pserver:guest@opensource.creative.com:/usr/local/cvs-repository login
Logging in to :pserver:guest@opensource.creative.com:2401/usr/local/cvs-repository
CVS password: 
cvs [login aborted]: connect to opensource.creative.com(124.246.64.74):2401 failed: No route to host

Any tips on how to get the OpenAL SDK installed?


回答1:


Why do you download from cvs instead of simply running apt-get install libopenal-dev? This automatically downloads OpenAL and its dependency.




回答2:


sudo apt-get install libopenal-dev

will install OpenAL SDK and get you up and running ... alternatively if you want to compile from source ... the open source fork of openal lives at https://github.com/kcat/openal-soft (do a git log of the code once you do the git clone and you will see these two are source code mirrors )

get current source :

#  git clone git://repo.or.cz/openal-soft.git  # both are same code
git clone git@github.com:kcat/openal-soft.git

cd openal-soft 
cd build
cmake ..
make

if no errors, then install :

sudo make install

totally feel free to post here any errors you encounter - ubuntu 12.04 or newer nicely offers apt-get install for all necessary libraries.

here are some optional upstream libs

sudo apt-get install libsdl-sound1.2-dev
sudo apt-get install  libmyth-dev



回答3:


New package name seems to be openal-soft-devel



来源:https://stackoverflow.com/questions/11195372/how-to-install-openal-sdk-on-ubuntu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!