Exception in thread "Animation Thread" java.lang.NoSuchMethodError: processing.core.PImage.getCache(Ljava/lang/Object;)Ljava/lang/Object;
package main1;
import processing.core.*;
import processing.opengl.*;
public class MiOp5nglTest extends PApplet{
/**
*
*/
private static final long serialVersionUID = 1L;
public void setup() {
size(400, 400, OPENGL);
smooth();
}
public void draw() {
background(255);
// draw a boring circle
fill(50,0,0);
stroke(0);
ellipse(200,200,200,200);
fill(200,200,200);
// draw a boring little circle that follows mouse
fill(255);
stroke(0);
ellipse (mouseX, mouseY, 20, 20);
// put some text
text("HelloWorld my OpenGL + P5 + Eclipse",150,180);
}
}