4

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?

Scott Stensland
  • 26,870
  • 12
  • 93
  • 104
SteveDeFacto
  • 1,317
  • 4
  • 19
  • 35

3 Answers3

15
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
Scott Stensland
  • 26,870
  • 12
  • 93
  • 104
  • The include path is most likely `/usr/include/AL/` and you can link to your application with `-lopenal`. Note: you will probably also need `freealut` : `sudo apt-get install libalut-dev` and linking with `-lalut` – jackw11111 Jan 08 '21 at 03:23
3

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

ranu
  • 622
  • 15
  • 25
Mārtiņš Možeiko
  • 12,733
  • 2
  • 45
  • 45
  • 1
    Maybe the package name has been changed? Use `apt-get install libopenal-dev` will install the package successfully, while `apt-get install openal-dev` will get a message "unable to locate package openal-dev". – wind Nov 09 '13 at 19:33
-1

New package name seems to be openal-soft-devel

Gareve
  • 3,372
  • 2
  • 21
  • 23