Closed jorditost closed 9 years ago
I checked this thread here but without luck: http://forum.processing.org/one/topic/duplicate-libraries-in-2-0.html
I resolved this adding all opencv files (the folders linux32, linux 64, etc.) into my lib/ folder. Wondering if it's possible not to add all this files again, since they are already on the opencv_processing library?
Hi, First of all, sorry if it's not the place to ask this.
I am creating a contributed library (the name is StageDetector) using this one and I get the following error in the Processing IDE:
I have created the library in Eclipse using the processing library template. I added the opencv_processing.jar in my Build Path and I import the library like this:
Before I created my library, I had a sketch in Processing that imported OpenCV, and the StageDetector was simply a class in my code. Now I've moved the StageDetector class to my library (StageDetector), and here is where the problem comes.
If I remove the
import.gab.opencv.*;
from the sketch (this is already added in my library), then I get this error in the Processing IDE:In the Build Path of my library I had to add the JAR files for OpenCV for Processing (
opencv_processing.jar
) and for the native OpenCV (opencv-245.jar
). This last one is already included by the OpenCV library, so I don't know why I had to include it again to the build path, but if I didn't I got some errors (when working with Mat).Any ideas?
Thanks for your help!