First of all, provide some details, I'm using processing 1.5.1(required for school), Eclipse Indigo, and the appropriate version of ControlP5 for processing 1.5.1. I get the follow error when I try to run my project:
Exception in thread "Animation Thread" java.lang.NoSuchMethodError: processing.core.PApplet.registerMethod(Ljava/lang/String;Ljava/lang/Object;)V at controlP5.ControlWindow.init(Unknown Source) at controlP5.ControlWindow.<init>(Unknown Source) at controlP5.ControlP5.init(Unknown Source) at controlP5.ControlP5.<init>(Unknown Source) at controltest.ControlTest.setup(ControlTest.java:11) at processing.core.PApplet.handleDraw(Unknown Source) at processing.core.PApplet.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
I have imported controlP5, although now it's in my referenced libraries twice for some reason. As you can see I don't have much. I can't figure out what's going on. Any help would be greatly appreciated.
(earlier versions also work, later versions dont!)
the zip file comes in the following folder structure
here you need to copy the folder controlP5 into your Processing/libraries folder so that the library is recognized by the processing IDE, this is also reflected inside the install_instructions.txt file.
But since you are using eclipse you need to point to the controlP5.jar file inside folder library. you can also copy the same file to any location of your preference where your eclipse project can find it.
The error message you encounter using processing 1.5.1 and controlP5 1.5.1 does not appear when I compile and run a sketch from outside the Processing IDE.
Same error here, however slightly different scenario since I'm using the Processing IDE (2.03b) with controlP5 version 2.0.1 on Mac OS X 10.8.2. (Tried both using the install library dialog and manual install).
Note that the examples all work splendidly. When I export my sketch it all seems to work somehow, yet I can't run it from within the IDE (in Java mode) :/
Has anyone had any more insights regarding this issue? What do you mean by reinstalling everything jeffw362? Thanks in advance.
Leave a comment on bloomingbridges's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic