[英]How to install OpenAL SDK on Ubuntu?
I'm very new to Linux and programming on Linux.我对 Linux 和 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.我正在尝试在 ubuntu 上安装 OpenAL SDK...我最好的猜测是我需要从 CVS 存储库下载 OpenAL。 I found a tutorial: http://www.edenwaith.com/products/pige/tutorials/openal.php我找到了一个教程: 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?关于如何安装 OpenAL SDK 的任何提示?
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 )将安装 OpenAL SDK 并让您启动并运行……或者,如果您想从源代码编译……openal 的开源分支位于https://github.com/kcat/openal-soft (做一个git log
执行 git clone 后的代码,您将看到这两个是源代码镜像)
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.完全可以在这里发布您遇到的任何错误 - ubuntu 12.04 或更新版本很好地为所有必要的库提供 apt-get 安装。
here are some optional upstream libs这里有一些可选的上游库
sudo apt-get install libsdl-sound1.2-dev
sudo apt-get install libmyth-dev
Why do you download from cvs instead of simply running apt-get install libopenal-dev
?为什么你从 cvs 下载而不是简单地运行apt-get install libopenal-dev
? This automatically downloads OpenAL and its dependency.这会自动下载 OpenAL 及其依赖项。
New package name seems to be openal-soft-devel新包名称似乎是 openal-soft-devel
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.