Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635782 - media-libs/mlt-6.4.1-r4 (with opencv-3.1.0-r8) - filter_opencv_tracker.cpp:114:43: error: no matching function for call to ‘cv::TrackerKCF::create()
Summary: media-libs/mlt-6.4.1-r4 (with opencv-3.1.0-r8) - filter_opencv_tracker.cpp:11...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-29 12:49 UTC by Thomas Bettler
Modified: 2017-10-31 18:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Bettler 2017-10-29 12:49:33 UTC
Unfortunately bug #631714 proposed a fix which broke compilation with opencv-3.1.0-r8.

emerge -1O media-libs/mlt-6.4.1-r4 fails with:
...
filter_opencv_tracker.cpp: In function ‘void analyze(mlt_filter, cv::Mat, private_data*, int, int, int, int)’:
filter_opencv_tracker.cpp:114:43: error: no matching function for call to ‘cv::TrackerKCF::create()’
    data->tracker = cv::TrackerKCF::create();
                                           ^
In file included from /usr/include/opencv2/tracking.hpp:309:0,
                 from filter_opencv_tracker.cpp:21:
/usr/include/opencv2/tracking/tracker.hpp:563:31: note: candidate: static cv::Ptr<cv::Tracker> cv::Tracker::create(const cv::String&)
   CV_WRAP static Ptr<Tracker> create( const String& trackerType );
                               ^
/usr/include/opencv2/tracking/tracker.hpp:563:31: note:   candidate expects 1 argument, 0 provided
filter_opencv_tracker.cpp:118:43: error: no matching function for call to ‘cv::TrackerMIL::create()’
    data->tracker = cv::TrackerMIL::create();
                                           ^
In file included from /usr/include/opencv2/tracking.hpp:309:0,
                 from filter_opencv_tracker.cpp:21:
/usr/include/opencv2/tracking/tracker.hpp:563:31: note: candidate: static cv::Ptr<cv::Tracker> cv::Tracker::create(const cv::String&)
   CV_WRAP static Ptr<Tracker> create( const String& trackerType );
                               ^
/usr/include/opencv2/tracking/tracker.hpp:563:31: note:   candidate expects 1 argument, 0 provided
filter_opencv_tracker.cpp:122:48: error: no matching function for call to ‘cv::TrackerBoosting::create()’
    data->tracker = cv::TrackerBoosting::create();
                                                ^
In file included from /usr/include/opencv2/tracking.hpp:309:0,
                 from filter_opencv_tracker.cpp:21:
/usr/include/opencv2/tracking/tracker.hpp:563:31: note: candidate: static cv::Ptr<cv::Tracker> cv::Tracker::create(const cv::String&)
   CV_WRAP static Ptr<Tracker> create( const String& trackerType );
                               ^
/usr/include/opencv2/tracking/tracker.hpp:563:31: note:   candidate expects 1 argument, 0 provided
make[2]: *** [<builtin>: filter_opencv_tracker.o] Error 1
Comment 1 Andreas Sturmlechner gentoo-dev 2017-10-29 12:51:57 UTC
The easy way out - make it depend on >=opencv-3.3?

Thomas, could you please test using opencv-3.2?
Comment 2 Thomas Bettler 2017-10-31 06:15:33 UTC
(In reply to Andreas Sturmlechner from comment #1)
> The easy way out - make it depend on >=opencv-3.3?
would be fine for me.
> 
> Thomas, could you please test using opencv-3.2?
compiles fine with opencv-3.2
Comment 3 Larry the Git Cow gentoo-dev 2017-10-31 18:35:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0e92c5ab382cee2ca3f3c828bbcf6193baa1c32

commit f0e92c5ab382cee2ca3f3c828bbcf6193baa1c32
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-10-31 18:33:54 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-10-31 18:33:54 +0000

    media-libs/mlt: Raise minimum media-libs/opencv version to 3.2
    
    Closes: https://bugs.gentoo.org/635782
    Package-Manager: Portage-2.3.13, Repoman-2.3.4

 media-libs/mlt/mlt-6.4.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)