Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error (without ROS) #282

Open
unicornuniform opened this issue Aug 28, 2023 · 2 comments
Open

Compilation error (without ROS) #282

unicornuniform opened this issue Aug 28, 2023 · 2 comments

Comments

@unicornuniform
Copy link

unicornuniform commented Aug 28, 2023

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);
       |                                                                            ^~

@catnuko
Copy link

catnuko commented Nov 28, 2023

same error

@cchun319
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants