We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, I am developing a contributed library for Processing using this template here:
https://github.com/processing/processing-library-template
My library uses another contributed library, the OpenCV library by Greg Borenstein).
I wonder which is the best practice here:
import StageDetector.*;
import gab.opencv.*
import StageDetector.*;
I hope this explanation is clear enough and hope it can help others with same problems.
Thanks for your time!
Answers
The second version is preferable, however then you will be even more exposed to any changes in the OpenCV library, which might be a good thing. Note processing has difficulties in dealing with multiple copies (and versions) of jars, and the user is sometimes forced to remove one or other libraries when there are conflicting versions (eg jbox2d used by fisica and Box2d-for-Processing), in order to get a library to work.