Loading...
Logo
Processing Forum
Hi folks,

I'm trying to use the "keystone" library ( http://keystonep5.sourceforge.net/) but I can't get the example code ("CornerPin.pde") to work.  Every time I run it, I get this error:   

No library found for deadpixel.keystone
As of release 1.0, libraries must be installed in a folder named 'libraries' inside the 'sketchbook' folder.

This is my first time installing a third-party library, and apparently I have no idea how to do it properly.

Here's what I have done so far:
1) downloaded the package
2) unzipped it
3) copied it into my sketchbook folder ("/Users/cassidy/Documents/Processing/libraries")

I'm assuming that the actual library, the bit that Processing cares about, is the file called "keystone.jar". So I've tried copying it into various places: directly in the "libraries" folder, and also into each of the subdirectories (libraries/deadpixel, libraries/deadpixel/keystone, etc.) but each time, no luck.

What am I missing here? What am I doing wrong?

-Cassidy

Replies(3)

After some tinkering, I got one step closer... turns out the "keystone" directory has to be installed inside of "libraries", without the intermediate "deadpixel" directory inbetween. So I'm no longer getting the "no library found" error. Now I get a different error:

NoSuchMethodError: You may be using a library that's incompatible with this version of Processing.

Exception in thread "Animation Thread" java.lang.NoSuchMethodError: processing.core.PApplet.registerMethod(Ljava/lang/String;Ljava/lang/Object;)V
at deadpixel.keystone.Keystone.<init>(Unknown Source)
at CornerPin.setup(CornerPin.java:53)
at processing.core.PApplet.handleDraw(PApplet.java:1608)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)

Does anyone know if keystone is intended to work with Processing 1.5.1?  Do I need to upgrade to 2.0?

-Cassidy


Does anyone know if keystone is intended to work with Processing 1.5.1?  Do I need to upgrade to 2.0?
 
Okay, I see now... the answer is yes. It says so right on the keystone home page. Upgrading to 2.0b8 as we speak!

-C


At KeyStone's webpage, it says:
For older versions of Processing (1.5.1 and lower), the previous version is available here.
Many 3rd-party libraries will have both legacy and beta version options available for download!