Can't get toxiclib audioutils to work
in
Contributed Library Questions
•
2 years ago
Hi
I'm new to Processing and its libraries and checking what's available. I downloaded the toxiclibs, and everything works fine and is really great, but I can't get audioutils to work.
I'm starting HelloAudioWorld in the PDE and get
It's this line that fails:
Being a Java developer, I like working in Eclipse better anyway, so I tried the same there, adding audioutil's library directory to the "Native library location" to be able to access the DLLS and .jnilib. Doesn't work either, but I get a different exception:
I installed OpenAL, even though all I see is "C:\Programme\OpenAL\oalinst.exe" (German Windows). Could this be the problem? Can I test OpenAL somehow?
Thanks for any help
Eric
I'm new to Processing and its libraries and checking what's available. I downloaded the toxiclibs, and everything works fine and is really great, but I can't get audioutils to work.
I'm starting HelloAudioWorld in the PDE and get
- Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: com.sun.gluegen.runtime.WindowsDynamicLinkerImpl.LoadLibraryW(Ljava/lang/String;)J
at com.sun.gluegen.runtime.WindowsDynamicLinkerImpl.LoadLibraryW(Native Method)
at com.sun.gluegen.runtime.WindowsDynamicLinkerImpl.openLibrary(WindowsDynamicLinkerImpl.java:26)
at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:164)
at net.java.games.joal.impl.ALProcAddressLookup$DynamicLookup.dynamicLookupFunction(ALProcAddressLookup.java:62)
at com.sun.gluegen.runtime.ProcAddressHelper.resetProcAddressTable(ProcAddressHelper.java:99)
at net.java.games.joal.impl.ALProcAddressLookup.resetALCProcAddressTable(ALProcAddressLookup.java:109)
at net.java.games.joal.impl.ALCImpl.alcOpenDevice(ALCImpl.java:341)
at toxi.audio.JOALUtil.init(Unknown Source)
at toxi.audio.JOALUtil.init(Unknown Source)
at HelloAudioWorld.setup(HelloAudioWorld.java:60)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
It's this line that fails:
- this.audioSys.init();
Being a Java developer, I like working in Eclipse better anyway, so I tried the same there, adding audioutil's library directory to the "Native library location" to be able to access the DLLS and .jnilib. Doesn't work either, but I get a different exception:
- Exception in thread "Animation Thread" java.lang.NoSuchMethodError: com.sun.gluegen.runtime.BufferFactory.nativeOrder(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
at net.java.games.joal.impl.ALCImpl.alcOpenDevice(ALCImpl.java:349)
at toxi.audio.JOALUtil.init(Unknown Source)
at toxi.audio.JOALUtil.init(Unknown Source)
at examples.audio.HelloAudioWorld.setup(HelloAudioWorld.java:43)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I installed OpenAL, even though all I see is "C:\Programme\OpenAL\oalinst.exe" (German Windows). Could this be the problem? Can I test OpenAL somehow?
Thanks for any help
Eric
2