Home > Back-end >  Visual SLAM speaks 14 second edition 8 practice making mistakes
Visual SLAM speaks 14 second edition 8 practice making mistakes

Time:12-17

Second edition and the first version of the program and data are different optical flow method, error program name is optical_fiow CPP
Cmake sure make wrong to have great god to give directions, thank the following wrong
[25%] Building CXX object CMakeFiles/optical_flow dir/optical_flow CPP. O
/home/WZF slambook2/ch8/optical_flow CPP: In function 'void OpticalFlowSingleLevel (const CV: : Mat& , const CV: : Mat& The const STD: : vector & , STD: : vector & , STD: : vector & , Boolean, Boolean) : '
/home/WZF slambook2/ch8/optical_flow CPP: 188-28: error: invalid initialization of the reference of type 'const CV: : ParallelLoopBody& 'the from expression of type' STD: : _Bind_helper & lt; False, the void (OpticalFlowTracker: : *) (const CV: : Range&) , OpticalFlowTracker *, const STD: : _Placeholder & lt; 1> &> : : type {aka STD: : _Bind & lt; Void (OpticalFlowTracker: : * (OpticalFlowTracker *, STD: : _Placeholder & lt; 1 & gt;) ) (const CV: : Range&)> }
'STD: : bind (& amp; OpticalFlowTracker: : calculateOpticalFlow, & amp; The tracker, placeholders: : _1));
~ ~ ~ ~ ~ ~ ~ ~ ~ ^ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
In the file included the from/usr/local/include/opencv2/core HPP: 3165:0,
The from/usr/local/include/opencv2/opencv HPP: 46,
The from/home/WZF slambook2/ch8/optical_flow CPP: 5:
/usr/local/include/opencv2/core/utility HPP, 356:17: note: passing in argument of 2 'void CV: : parallel_for_ (const CV: : Range& , const CV: : ParallelLoopBody& , double)
'CV_EXPORTS void parallel_for_ (const Range& The range of const ParallelLoopBody& Body, double nstripes=1.);
^ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

CodePudding user response:

Ask you to solve?
  • Related