frei0r is failing to build when opencv is installed. (using sbopkg).
see error below. Any ideas on how to fix it?

/tmp/SBo/frei0r-plugins-1.7.0/src/filter/facebl0r/facebl0r.cpp: In member function 'virtual void FaceBl0r::update(double, uint32_t*, const uint32_t*)': /tmp/SBo/frei0r-plugins-1.7.0/src/filter/facebl0r/facebl0r.cpp:217:43: error: could not convert '((FaceBl0r*)this)->FaceBl0r::tracked_obj->TrackedObj::prev_rect' from 'cv::Rect {aka cv::Rect_<int>}' to 'CvRect'
        cvSetImageROI (image, tracked_obj->prev_rect);
                                           ^
/tmp/SBo/frei0r-plugins-1.7.0/src/filter/facebl0r/facebl0r.cpp:226:73: error: could not convert 'cv::Scalar_<double>(0.0, 0.0, 2.55e+2, 0.0)' from 'cv::Scalar {aka cv::Scalar_<double>}' to 'CvScalar'                cvEllipseBox(image, face_box, CV_RGB(255,0,0), 2, CV_AA, 0);
^
/tmp/SBo/frei0r-plugins-1.7.0/src/filter/facebl0r/facebl0r.cpp: In member function 'CvBox2D FaceBl0r::camshift_track_face(IplImage*, TrackedObj*)': /tmp/SBo/frei0r-plugins-1.7.0/src/filter/facebl0r/facebl0r.cpp:350:10: error: could not convert 'rot_rect' from 'cv::RotatedRect' to 'CvBox2D'
   return rot_rect;
          ^
src/filter/facebl0r/CMakeFiles/facebl0r.dir/build.make:62: recipe for target 'src/filter/facebl0r/CMakeFiles/facebl0r.dir/facebl0r.cpp.o' failed make[2]: *** [src/filter/facebl0r/CMakeFiles/facebl0r.dir/facebl0r.cpp.o] Error 1 CMakeFiles/Makefile2:632: recipe for target 'src/filter/facebl0r/CMakeFiles/facebl0r.dir/all' failed
make[1]: *** [src/filter/facebl0r/CMakeFiles/facebl0r.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2


---
This email has been checked for viruses by AVG.
https://www.avg.com

_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

Reply via email to