We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › Installing JMyron Library
Page Index Toggle Pages: 1
Installing JMyron Library (Read 2174 times)
Installing JMyron Library
Jun 7th, 2009, 2:49pm
 
Hello Everyone,
I'm trying to install the JMyron library on processing and I'm getting a compiling error like this:

Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: /Users/jndopazo/Documents/Processing/libraries/JMyron/library/libJMyron.jnilib:
     at java.lang.ClassLoader$NativeLibrary.load(Native Method)
     at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
     at java.lang.Runtime.loadLibrary0(Runtime.java:822)
     at java.lang.System.loadLibrary(System.java:993)
     at JMyron.JMyron.<clinit>(JMyron.java:14)
     at sketch_jun07a.setup(sketch_jun07a.java:26)
     at processing.core.PApplet.handleDraw(PApplet.java:1403)
     at processing.core.PApplet.run(PApplet.java:1328)
     at java.lang.Thread.run(Thread.java:613)


I'm not sure what's going on in here.  
I copied the library folder into the Processing/libraries folder on my computer and imported the library into processing.
The code I'm using is this test code:

import JMyron.*;
void setup(){
JMyron m = new JMyron();
println(m.version());
}


Thank you so much.
Re: Installing JMyron Library
Reply #1 - Jun 8th, 2009, 12:17am
 
What version of Processing are you using Have you read the instructions at the Libraries page The instructions given by libraries themselves might be outdated, you no longer put libraries in Processing install folder.
Re: Installing JMyron Library
Reply #2 - Jun 11th, 2009, 1:41pm
 
Thank you for you response PhilLho.  The only thing that it's needed it's to download an updated version of the libJMyron.jnilib file and replace it with the one in the folder.

The file can be download from here: jibberia[dot]com[slash]projects[slash]

Thanks again!

pd: sorry for the weird webpage, it's just that I can't post links since I'm a new user of the forum!
Re: Installing JMyron Library
Reply #3 - Jul 19th, 2009, 12:08pm
 
Jenny - that worked for me -- thanks so much.
Page Index Toggle Pages: 1