问题
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