rpg_svo icon indicating copy to clipboard operation
rpg_svo copied to clipboard

Compilation error (without ROS)

Open unicornuniform opened this issue 1 year ago • 2 comments

sam@14IAU7:~/lib/rpg_svo/svo/build$ make 
 [  3%] Building CXX object CMakeFiles/svo.dir/src/frame_handler_mono.cpp.o
 /home/sam/lib/rpg_svo/svo/src/frame_handler_mono.cpp: In member function ‘virtual void svo::FrameHandlerMono::initialize()’:
 /home/sam/lib/rpg_svo/svo/src/frame_handler_mono.cpp:48:72: error: ‘_1’ was not declared in this scope
    48 |       &MapPointCandidates::newCandidatePoint, &map_.point_candidates_, _1, _2);
   |                                                                        ^~

And:

 /home/sam/lib/rpg_svo/svo/src/frame_handler_mono.cpp:48:76: error: ‘_2’ was not declared in this scope
    48 |       &MapPointCandidates::newCandidatePoint, &map_.point_candidates_, _1, _2);
       |                                                                            ^~

unicornuniform avatar Aug 28 '23 07:08 unicornuniform

same error

catnuko avatar Nov 28 '23 03:11 catnuko

you can try replace it with boost::placeholders::_1

cchun319 avatar Feb 29 '24 02:02 cchun319