Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 766537 - media-libs/mlt-6.24.0-r1: filter_opencv_tracker.cpp:148:24: error: ‘cv::TrackerMOSSE’ has not been declared
Summary: media-libs/mlt-6.24.0-r1: filter_opencv_tracker.cpp:148:24: error: ‘cv::Track...
Status: RESOLVED DUPLICATE of bug 761975
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-22 12:06 UTC by Samuel Bernardo
Modified: 2021-01-22 12:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,148.46 KB, text/x-log)
2021-01-22 12:06 UTC, Samuel Bernardo
Details
emerge info (emerge.info,10.24 KB, text/plain)
2021-01-22 12:09 UTC, Samuel Bernardo
Details
emerge -pqv (emerge.pqv,582 bytes, text/plain)
2021-01-22 12:10 UTC, Samuel Bernardo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bernardo 2021-01-22 12:06:56 UTC
Created attachment 684103 [details]
build log

filter_opencv_tracker.cpp: In function ‘void analyze(mlt_filter, cv::Mat, private_data*, int, int, int, int)’:
filter_opencv_tracker.cpp:148:24: error: ‘cv::TrackerMOSSE’ has not been declared
  148 |    data->tracker = cv::TrackerMOSSE::create();
      |                        ^~~~~~~~~~~~
filter_opencv_tracker.cpp:157:24: error: ‘cv::TrackerTLD’ has not been declared
  157 |    data->tracker = cv::TrackerTLD::create();
      |                        ^~~~~~~~~~
filter_opencv_tracker.cpp:161:24: error: ‘cv::TrackerBoosting’ has not been declared
  161 |    data->tracker = cv::TrackerBoosting::create();
      |                        ^~~~~~~~~~~~~~~
filter_opencv_tracker.cpp:227:28: error: could not convert ‘data->private_data::tracker.cv::Ptr<cv::Tracker>::operator->()->cv::Tracker::init(cv::_InputArray(cvFrame), cv::Rect_<_Tp>::operator cv::Rect_<_Tp2>() const [with _Tp2 = int; _Tp = double]())’ from ‘void’ to ‘bool’
  227 |    if ( data->tracker->init( cvFrame, data->boundingBox ) ) {
      |         ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                            |
      |                            void
filter_opencv_tracker.cpp:242:41: error: cannot bind non-const lvalue reference of type ‘cv::Rect&’ {aka ‘cv::Rect_<int>&’} to an rvalue of type ‘cv::Rect_<int>’
  242 |   data->tracker->update( cvFrame, data->boundingBox );
      |                                   ~~~~~~^~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/core.hpp:58,
                 from /usr/include/opencv4/opencv2/tracking.hpp:8,
                 from filter_opencv_tracker.cpp:21:
/usr/include/opencv4/opencv2/core/types.hpp:1905:1: note:   after user-defined conversion: ‘cv::Rect_<_Tp>::operator cv::Rect_<_Tp2>() const [with _Tp2 = int; _Tp = double]’
 1905 | Rect_<_Tp>::operator Rect_<_Tp2>() const
      | ^~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/tracking.hpp:9,
                 from filter_opencv_tracker.cpp:21:
/usr/include/opencv4/opencv2/video/tracking.hpp:737:48: note:   initializing argument 2 of ‘virtual bool cv::Tracker::update(cv::InputArray, cv::Rect&)’
  737 |     bool update(InputArray image, CV_OUT Rect& boundingBox) = 0;
      |                                          ~~~~~~^~~~~~~~~~~
make[2]: *** [<builtin>: filter_opencv_tracker.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/mlt-6.24.0-r1/work/mlt-6.24.0/src/modules/opencv'
Comment 1 Andreas Sturmlechner gentoo-dev 2021-01-22 12:09:00 UTC

*** This bug has been marked as a duplicate of bug 761975 ***
Comment 2 Samuel Bernardo 2021-01-22 12:09:55 UTC
Created attachment 684106 [details]
emerge info
Comment 3 Samuel Bernardo 2021-01-22 12:10:12 UTC
Created attachment 684109 [details]
emerge -pqv