trying to get it to compile with OpenCV 2.4
I'm new to this. I've downloaded and compiled OpenCV 2.4, and the samples run.
Unable to load foreign library (CL-OPENCV-GLUE). Error opening shared object "libcl-opencv-glue.so": /usr/local/lib/libcl-opencv-glue.so: undefined symbol: cvAbsDiffS. [Condition of type CFFI:LOAD-FOREIGN-LIBRARY-ERROR]
there is no cvAbsDiffS in the c or the h files in the glue directory.
any hints?
I plan to add a lot of functions. I plan to get a TLD tracker going from within Lisp.\
Thanks Michael [email protected]
I'm not really the primary author, I made a stub and jbromley ran with it. Looking briefly at the code, it looks as if OpenCV removed the cvAbsDiffS function from their API.
If it has simply been renamed, then:
- glue/cl-opencv-glue.c need to call to the new function
- glue/cl-opencv-glue.h needs to include the .h file where the new function lives
If it's anything beyond a simple rename, then it'll take a lot more digging to figure out what cvAbsDiffS did, how it was used in cl-opencv, and how to reproduce that functionality in OpenCV 2.4.