Can't find OpenAL on WinXP

INFO: Camera created.
Mar 31, 2009 9:20:28 PM 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:77)
at com.jmex.audio.AudioSystem.getSystem(AudioSystem.java:63)
at com.jmex.game.StandardGame.initSound(StandardGame.java:338)
at com.jmex.game.StandardGame.initSystem(StandardGame.java:320)
at com.jmex.game.StandardGame.run(StandardGame.java:210)
at java.lang.Thread.run(Thread.java:619)
Mar 31, 2009 9:20:28 PM com.jmex.game.DefaultUncaughtExceptionHandler uncaughtException
SEVERE: Main game loop broken by uncaught exception
java.lang.UnsatisfiedLinkError: org.lwjgl.openal.AL10.nalListener3f(IFFF)V
at org.lwjgl.openal.AL10.nalListener3f(Native Method)
at org.lwjgl.openal.AL10.alListener3f(AL10.java:675)
at com.jmex.audio.openal.OpenALEar.update(OpenALEar.java:61)
at com.jmex.audio.Ear.trackOrientation(Ear.java:106)
at com.jmex.game.StandardGame.initSound(StandardGame.java:338)
at com.jmex.game.StandardGame.initSystem(StandardGame.java:320)
at com.jmex.game.StandardGame.run(StandardGame.java:210)
at java.lang.Thread.run(Thread.java:619)


I keep getting this exception and I've tried everything. The paths are correct, the library is there, etc, etc.. It seems as though nalListener3f is not implemented in this version of OpenAL32.dll and the error simply incorrectly reports that the entire library is not found.

My sound card is just fine, listening to music right now. I used to be able to run jME on this machine before. I tried copying the libraries into /windows/system32, adding -Djava.library.path, defining native library path under build path in eclipse of lwgl.jar library, etc.. Finds all the other libraries fine. I build jME from source and used the included libraries in lib directory. I downloaded brand new lwgl and OpenAL libraries, linked those. I downloaded the pre-build jME package and used its included libraries. Tried jNPL demos, install and the window flashes and no error reported (I'm assuming its in some log).

What else can I try?

It seems you tried quite a few things already.

i'd try my luck in the lwjgl forum.

I wonder if you have an openAL library somewhere else on your PC (maybe Windows/System32) that is being accessed…



Maybe do a search for those .DLLs …

I thought of that too. I searched. Found a lgwl library which was giving me wrong jar-to-dll version message. I haven't had time to work on this more, we core-dump suggested, I'm going to take it up with the lwgl forum. Even renamed OpenAL32.dll to OpenAL.dll, but after looking at the source code, its actually looking for OpenAL32.

This is winXP 32 bit right?

Yes, 32bit, dual core, WinXP SP2. I have been trying to run it under eclipse.

Success! I rebooted my system and my test program worked. It coredumped when I was exiting, but none the less it worked. I don't reboot my system often, but I guess there was nothing else to try this time.



Thanks for your help and suggestions. Now to get those Maya models imported.

Honestly, if you don't reboot your system very often that is the FIRST thing I would try when diagnosing any 'weird' problems.  Windows has a habit of trying to continue on it's merry way even when it's having issues…



Glad you got it sorted :slight_smile: