ORB-SLAM2_ROS icon indicating copy to clipboard operation
ORB-SLAM2_ROS copied to clipboard

Catkin build Error

Open Shubhamvithalani opened this issue 5 years ago • 1 comments

[ 81%] Built target orb_slam2_ros_generate_messages_eus [ 81%] Built target orb_slam2_ros_generate_messages [ 87%] Linking CXX executable devel/lib/orb_slam2_ros/Mono devel/lib/libPublisherUtils.so: undefined reference to cv::_OutputArray::_OutputArray(cv::Mat&)' devel/lib/libPublisherUtils.so: undefined reference to cv::_InputArray::_InputArray(cv::MatExpr const&)' devel/lib/libPublisherUtils.so: undefined reference to cv::imwrite(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cv::_InputArray const&, std::vector<int, std::allocator<int> > const&)' devel/lib/libPublisherUtils.so: undefined reference to cv::_InputArray::_InputArray(cv::Mat const&)' devel/lib/libPublisherUtils.so: undefined reference to vtable for cv::_OutputArray' devel/lib/libPublisherUtils.so: undefined reference to cv::_InputArray::_InputArray(double const&)' collect2: error: ld returned 1 exit status CMakeFiles/Mono.dir/build.make:708: recipe for target 'devel/lib/orb_slam2_ros/Mono' failed make[2]: *** [devel/lib/orb_slam2_ros/Mono] Error 1 CMakeFiles/Makefile2:1558: recipe for target 'CMakeFiles/Mono.dir/all' failed make[1]: *** [CMakeFiles/Mono.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2

Shubhamvithalani avatar Feb 27 '19 12:02 Shubhamvithalani

I can't reproduce the error. What version of openCV do you have? Or maybe you already fixed this as some time has already passed?

rayvburn avatar Mar 15 '19 18:03 rayvburn