I programmed a sketch that uses Minim with the Processing IDE. Everything is working fine.
I'm now planning to improve it, and moved to Eclipse, as I have done with many other projects. I configured the build path to include minim.jar. All the imports seem to work fine. But I can't compile the project because I get the following error when I initialize de Minim instance varialbe:
The constructor Minim(PApplet) is undefined
The declaration gives no error, so I reckon the library loads fine. The exact same code works in the processing IDE but not in Eclipse. Here's my code:
import processing.core.*;
import ddf.minim.*;
import ddf.minim.signals.*;
import ddf.minim.analysis.*;
import ddf.minim.effects.*;
public class MinimTest extends PApplet {
Minim minim;
public void setup() {
minim = new Minim(this); // error in this line
}
}
I don't have a clue on what's going on. Any pointers will be very much appreciated.
Thanks in advance.