processing-sound-archive icon indicating copy to clipboard operation
processing-sound-archive copied to clipboard

Sound Library error : A library used by this sketch is not installed properly

Open AdrienGarciaGit opened this issue 8 years ago • 10 comments

Hi, I have this message error when I try to run sound library examples : A library relies on native code that's not available. And in the console : A library relies on native code that's not available. Or only works properly when the sketch is run as a 32-bit application. If I try to run it whith the 32 bits processing version, I have the same message, but with "64 bits" instead. I have processing 3.0.1, on windows 8.1., with the 1.3.1 sound library version.

AdrienGarciaGit avatar Nov 13 '15 10:11 AdrienGarciaGit

I have this issue too. Same error message and all.

kk6axq avatar Nov 17 '15 21:11 kk6axq

Also having trouble with this. Processing 3.0, sound library 1.3.1, Windows 10.

I've been experimenting with what works and what doesn't, and it's only sound files that don't seem to work. Noise, for example. works fine:

import processing.sound.*;
BrownNoise noise = new BrownNoise(this);

void setup(){
  noise.play();
}

void draw(){
}

That successfully plays brown noise (for a few frames -- it changes to something different that I don't know how to describe after a couple of seconds, but that's a whole other issue).

However, as soon as I try to play a sound file:

import processing.sound.*;
SoundFile sound = new SoundFile(this, "ping.wav");

void setup(){
  sound.play();
}

void draw(){
}

Doesn't work, no matter whether I have the soundfile ping.wav directly in the folder or in a data folder within that.

Error message;

A library used by this sketch is not installed properly.

And in the console:

A library relies on native code that's not available. Or only works properly when the sketch is run as a 32-bit application.

fennric avatar Nov 21 '15 13:11 fennric

Same problem :(

dorinclisu avatar Dec 06 '15 22:12 dorinclisu

Hi, I faced the same issue and error message with Sound 1.3.1 on Windows 7 and attempted to read the readme.txt on the github source code for help. It just occurred to me that it might be due to the MethCla interface that only supports OSX and Linux at the moment. So I ported my code to a macbook and the sound processing works again.

So, temporarily, you might wish to work on a mac/linux to see if it helps your case.

Rayheng avatar Dec 10 '15 08:12 Rayheng

Hi, same problem with a debian jessie 64bits Processing 3.0.1 Sound 1.3.1 as in the closed issue https://github.com/processing/processing-sound/issues/27 ++

b01xy avatar Jan 27 '16 00:01 b01xy

me too i got this error, pls fix it :)

jhonoryza avatar Feb 02 '16 07:02 jhonoryza

Same, Ubuntu 64 processing 3.0.1

UnsatisfiedLinkError: processing.sound.MethClaInterface.busConstructMono()I A library relies on native code that's not available. Or only works properly when the sketch is run as a 32-bit application.

ryanpg avatar Feb 06 '16 21:02 ryanpg

Same error.

At first I thought it has something to do with the name of the folder where it resides. My name has an Ó, so this creates conflicts with many programs, like it did with the video library. Once I changed the path it worked, but sound hasn't, and don't know why.

animanoir avatar Mar 02 '16 20:03 animanoir

Hi All, I had the exact same issue on Windows 10. I was trying to run processing in both 32 bit and 64 bit. Had the issue with both versions. I replaced the dlls in the sound library folder, with dlls I downloaded from GitHub in https://github.com/processing/processing-sound Remember to copy files both for library in 32 bit and in 64 bit. Now all works fine.

rachelye avatar Mar 04 '16 14:03 rachelye

Yep! @rachelye solution works!

animanoir avatar Mar 04 '16 16:03 animanoir