-
Notifications
You must be signed in to change notification settings - Fork 32
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
Error in catkin_make #4
Comments
@darkyrs |
I have encountered the same problem. I want to know how this problem came about, and how can I solve it completely?Pray for your help.@Hello-Water @darkyrs |
Hello, I'm sorry to bother you, but I still want to ask you if you have solved this problem. At present, I have successfully run all three networks, but demo node still can't run perfectly, that is, I need to annotate all the contents about slam in the run_vido.cc file to run three networks. I think the changes you suggested can be compiled successfully, but they can't run successfully, which makes me very upset. I hope you can read this reply and help me, thank you very much ~ @Hello-Water |
This error was reported when catkin_make
[ 91%] Built target mono_depth2_generate_messages
In file included from /usr/include/c++/9/bits/locale_conv.h:41,
from /usr/include/c++/9/locale:43,
from /usr/include/c++/9/iomanip:43,
from /usr/include/boost/math/policies/error_handling.hpp:12,
from /usr/include/boost/math/special_functions/round.hpp:14,
from /opt/ros/noetic/include/ros/time.h:58,
from /opt/ros/noetic/include/ros/ros.h:38,
from /home/dzb/ROS/VIDO-SLAM/src/realtime_demo/src/run_vido.cc:1:
/usr/include/c++/9/bits/unique_ptr.h: In instantiation of ‘typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = VIDO_SLAM::System; _Args = {std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, VIDO_SLAM::System::eSensor}; typename std::_MakeUniq<_Tp>::__single_object = std::unique_ptr<VIDO_SLAM::System>]’:
/home/dzb/ROS/VIDO-SLAM/src/realtime_demo/src/run_vido.cc:275:90: required from here
/usr/include/c++/9/bits/unique_ptr.h:857:30: error: no matching function for call to ‘VIDO_SLAM::System::System(std::__cxx11::basic_string&, VIDO_SLAM::System::eSensor)’
857 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/dzb/ROS/VIDO-SLAM/src/realtime_demo/src/run_vido.cc:17:
/home/dzb/ROS/VIDO-SLAM/src/realtime_demo/../../vido_slam/include/System.h:85:5: note: candidate: ‘VIDO_SLAM::System::System()’
85 | System(){};
| ^~~~~~
/home/dzb/ROS/VIDO-SLAM/src/realtime_demo/../../vido_slam/include/System.h:85:5: note: candidate expects 0 arguments, 2 provided
/home/dzb/ROS/VIDO-SLAM/src/realtime_demo/../../vido_slam/include/System.h:72:7: note: candidate: ‘constexpr VIDO_SLAM::System::System(const VIDO_SLAM::System&)’
72 | class System
| ^~~~~~
/home/dzb/ROS/VIDO-SLAM/src/realtime_demo/../../vido_slam/include/System.h:72:7: note: candidate expects 1 argument, 2 provided
/home/dzb/ROS/VIDO-SLAM/src/realtime_demo/../../vido_slam/include/System.h:72:7: note: candidate: ‘constexpr VIDO_SLAM::System::System(VIDO_SLAM::System&&)’
/home/dzb/ROS/VIDO-SLAM/src/realtime_demo/../../vido_slam/include/System.h:72:7: note: candidate expects 1 argument, 2 provided
Could you give me some advice?Thanks!
The text was updated successfully, but these errors were encountered: