Hello Guest

[Linux, x64, alsa] Could not locate OpenAL library

  • 2 Replies
  • 12487 Views
*

nafur

[Linux, x64, alsa] Could not locate OpenAL library
« on: April 06, 2008, 08:36:21 »
Hello,

I'm trying to get lwjgl to work... and my problem is openal.
when trying to start some projekt, I get these messages:
Quote
open /dev/[sound/]dsp: No such file or directory
open /dev/[sound/]dsp: No such file or directory
open /dev/[sound/]dsp: No such file or directory
open /dev/[sound/]dsp: No such file or directory
open /dev/[sound/]dsp: No such file or directory
open /dev/[sound/]dsp: No such file or directory
Apr 6, 2008 10:21:51 AM class com.jmex.audio.openal.OpenALSystem OpenALSystem()
SEVERE: Exception
org.lwjgl.LWJGLException: Could not locate OpenAL library.
   at org.lwjgl.openal.AL.create(AL.java:153)
   at org.lwjgl.openal.AL.create(AL.java:104)
   at org.lwjgl.openal.AL.create(AL.java:191)
   at com.jmex.audio.openal.OpenALSystem.<init>(OpenALSystem.java:75)
   at com.jmex.audio.AudioSystem.getSystem(AudioSystem.java:62)
   at com.jmex.game.StandardGame.initSound(StandardGame.java:280)
   at com.jmex.game.StandardGame.initSystem(StandardGame.java:262)
   at com.jmex.game.StandardGame.run(StandardGame.java:158)
   at java.lang.Thread.run(Thread.java:619)
after some back and forth because I thougt it was only related to an 64bit issue, I now read this thread: http://lwjgl.org/forum/index.php/topic,1443.0.html
As my system is alsa-only too, i'm quite sure that it's all about alsa...

I have the openal source here and already tried to compile it, but without success (it did compile, but it didn't work... so probably no alsa...)
how do I have to compile it to get alsa support?
or is the problem something different again?

[Edit]
I tried a bit and tried it this way:
./configure --with-alsa --without-oss && make
that compiles... but doesn't work :-(
« Last Edit: April 06, 2008, 08:48:29 by nafur »

*

Offline Matzon

  • *****
  • 2242
Re: [Linux, x64, alsa] Could not locate OpenAL library
« Reply #1 on: April 06, 2008, 09:17:29 »

*

nafur

Re: [Linux, x64, alsa] Could not locate OpenAL library
« Reply #2 on: April 06, 2008, 16:18:19 »
cool... that works :-)
thanks a lot!!!