I am trying to use the new OpenCV block with Cinder 0.8.2. I used TinderBox to set up a project somewhere in my user directory and was just trying to set up a basic video capture procedure. I added the OpenCv block as a group to the project.
cv::Mat input( toOcv( capture.getSurface() ) )
When I added this code, I got the following errors:
Undefined symbols:
"cv::fastFree(void*)", referenced from:
cv::Mat::release() in ColourDanceApp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
I broke the above code in
Surface frame;
frame = mCap.getSurface();
cv::Mat matrix;
matrix = toOcv( frame );
cv::Mat input( matrix );
And found that I got this error:
cv::Mat matrix; (and a whole bunch of errors)
It has been a while since I made any C ++, but I conclude from this that there is a problem with setting up the project as code, which it mainly uses from OpenCV examples. The fact that he comes so far to me suggests that the Cinder path is good. Theres no help in
source
share