gaoxiang12 / ygz-stereo-inertial

a stereo-inertial visual odometry
MIT License
264 stars 121 forks source link

您好,我在安装SLAM的时候卡在"./generate.sh",请问有什么办法吗? #8

Open zhangmingcheng28 opened 5 years ago

zhangmingcheng28 commented 5 years ago

系统:Ubuntu 16.04.6 LTS “/generate.sh" 的时候报错了: [ 87%] Linking CXX executable ../../bin/MakeSceneEurocStereoVIO_ros ../../lib/libygz-cv.so: undefined reference to ros::Publisher::publish(boost::function<ros::SerializedMessage ()> const&, ros::SerializedMessage&) const' ../../lib/libygz-cv.so: undefined reference toros::Publisher::Impl::isValid() const' ../../lib/libygz-cv.so: undefined reference to ros::NodeHandle::advertise(ros::AdvertiseOptions&)' ../../lib/libygz-cv.so: undefined reference toros::NodeHandle::NodeHandle(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::map<std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::less<std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::cxx11::basic_string<char, std::char_traits, std::allocator > const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > > const&)' ../../lib/libygz-cv.so: undefined reference to ros::NodeHandle::~NodeHandle()' ../../lib/libygz-cv.so: undefined reference toros::Publisher::~Publisher()' ../../lib/libygz-cv.so: undefined reference to ros::init(int&, char**, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)' collect2: error: ld returned 1 exit status examples/CMakeFiles/Kitti.dir/build.make:561: recipe for target '../bin/Kitti' failed make[2]: *** [../bin/Kitti] Error 1 CMakeFiles/Makefile2:2574: recipe for target 'examples/CMakeFiles/Kitti.dir/all' failed make[1]: *** [examples/CMakeFiles/Kitti.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... ../../lib/libygz-cv.so: undefined reference toros::Publisher::publish(boost::function<ros::SerializedMessage ()> const&, ros::SerializedMessage&) const' ../../lib/libygz-cv.so: undefined reference to ros::Publisher::Impl::isValid() const' ../../lib/libygz-cv.so: undefined reference toros::NodeHandle::advertise(ros::AdvertiseOptions&)' ../../lib/libygz-cv.so: undefined reference to ros::NodeHandle::NodeHandle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)' ../../lib/libygz-cv.so: undefined reference toros::NodeHandle::~NodeHandle()' ../../lib/libygz-cv.so: undefined reference to ros::Publisher::~Publisher()' ../../lib/libygz-cv.so: undefined reference toros::init(int&, char, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int)' collect2: error: ld returned 1 exit status examples/CMakeFiles/EurocStereo.dir/build.make:561: recipe for target '../bin/EurocStereo' failed make[2]: ** [../bin/EurocStereo] Error 1 CMakeFiles/Makefile2:2615: recipe for target 'examples/CMakeFiles/EurocStereo.dir/all' failed make[1]: [examples/CMakeFiles/EurocStereo.dir/all] Error 2 CMakeFiles/EurocStereoVIO_ros.dir/EurocStereoVIO_ros.cpp.o: In function FetchImageCallback(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&)': EurocStereoVIO_ros.cpp:(.text+0x29d9): undefined reference toros::Publisher::Impl::isValid() const' EurocStereoVIO_ros.cpp:(.text+0x324d): undefined reference to ros::Publisher::publish(boost::function<ros::SerializedMessage ()> const&, ros::SerializedMessage&) const' CMakeFiles/EurocStereoVIO_ros.dir/EurocStereoVIO_ros.cpp.o: In functionmessage_filters::Subscriber<sensormsgs::Image<std::allocator > >::unsubscribe()': EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE11unsubscribeEv[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE11unsubscribeEv]+0x5): undefined reference to ros::Subscriber::shutdown()' CMakeFiles/EurocStereoVIO_ros.dir/EurocStereoVIO_ros.cpp.o: In functionmessage_filters::Subscriber<sensormsgs::Image<std::allocator > >::subscribe()': EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeEv[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeEv]+0x32): undefined reference to ros::Subscriber::shutdown()' EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeEv[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeEv]+0x72): undefined reference toros::NodeHandle::subscribe(ros::SubscribeOptions&)' EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeEv[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeEv]+0xac): undefined reference to ros::Subscriber::~Subscriber()' CMakeFiles/EurocStereoVIO_ros.dir/EurocStereoVIO_ros.cpp.o: In functionvoid ros::Publisher::publish<geometrymsgs::PoseStamped<std::allocator > >(geometrymsgs::PoseStamped<std::allocator > const&) const': EurocStereoVIO_ros.cpp:(.text._ZNK3ros9Publisher7publishIN13geometry_msgs12PoseStampedISaIvEEEEEvRKT[_ZNK3ros9Publisher7publishIN13geometry_msgs12PoseStampedISaIvEEEEEvRKT]+0x3d): undefined reference to ros::Publisher::Impl::isValid() const' EurocStereoVIO_ros.cpp:(.text._ZNK3ros9Publisher7publishIN13geometry_msgs12PoseStamped_ISaIvEEEEEvRKT_[_ZNK3ros9Publisher7publishIN13geometry_msgs12PoseStamped_ISaIvEEEEEvRKT_]+0xcd): undefined reference toros::Publisher::publish(boost::function<ros::SerializedMessage ()> const&, ros::SerializedMessage&) const' CMakeFiles/EurocStereoVIO_ros.dir/EurocStereoVIO_ros.cpp.o: In function message_filters::Subscriber<sensor_msgs::Image_<std::allocator<void> > >::~Subscriber()': EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED2Ev[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED5Ev]+0x23): undefined reference toros::Subscriber::shutdown()' EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED2Ev[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED5Ev]+0x2f): undefined reference to ros::NodeHandle::~NodeHandle()' EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED2Ev[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED5Ev]+0x40): undefined reference toros::Subscriber::~Subscriber()' CMakeFiles/EurocStereoVIO_ros.dir/EurocStereoVIO_ros.cpp.o: In function message_filters::Subscriber<sensor_msgs::Image_<std::allocator<void> > >::~Subscriber()': EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED0Ev[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED5Ev]+0x23): undefined reference toros::Subscriber::shutdown()' EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED0Ev[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED5Ev]+0x30): undefined reference to ros::NodeHandle::~NodeHandle()' EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED0Ev[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED5Ev]+0x42): undefined reference toros::Subscriber::~Subscriber()' CMakeFiles/EurocStereoVIO_ros.dir/EurocStereoVIO_ros.cpp.o: In function message_filters::Subscriber<sensor_msgs::Image_<std::allocator<void> > >::subscribe(ros::NodeHandle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, ros::TransportHints const&, ros::CallbackQueueInterface*)': EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x4f): undefined reference toros::Subscriber::shutdown()' EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x21d): undefined reference to ros::NodeHandle::subscribe(ros::SubscribeOptions&)' EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x258): undefined reference toros::Subscriber::~Subscriber()' EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x267): undefined reference to ros::NodeHandle::operator=(ros::NodeHandle const&)' CMakeFiles/EurocStereoVIO_ros.dir/EurocStereoVIO_ros.cpp.o: In functionmessage_filters::Subscriber<sensormsgs::Image<std::allocator > >::Subscriber(ros::NodeHandle&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, ros::TransportHints const&, ros::CallbackQueueInterface*)': EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEEC2ERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEEC5ERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x206): undefined reference to `ros::NodeHandle::NodeHandle(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::map<std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::less<std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::cxx11::basic_string<char, std::char_traits, std::allocator > const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > > const&)' EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEEC2ERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEEC5ERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x2de): undefined reference to ros::NodeHandle::~NodeHandle()' EurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEEC2ERN3ros10NodeHandleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEEC5ERN3ros10NodeHandleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x2f0): undefined reference toros::Subscriber::~Subscriber()' CMakeFiles/EurocStereoVIO_ros.dir/EurocStereoVIO_ros.cpp.o: In function `ros::Subscriber ros::NodeHandle::subscribe<sensormsgs::NavSatFix<std::allocator > const&>(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, void (*)(sensormsgs::NavSatFix<std::allocator > const&), ros::TransportHints const&)': EurocStereoVIO_ros.cpp:(.text._ZN3ros10NodeHandle9subscribeIRKN11sensor_msgs10NavSatFix_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvT_ERKNS_14TransportHintsE[_ZN3ros10NodeHandle9subscribeIRKN11sensor_msgs10NavSatFix_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvT_ERKNS_14TransportHintsE]+0x2a6): undefined reference to ros::NodeHandle::subscribe(ros::SubscribeOptions&)' CMakeFiles/EurocStereoVIO_ros.dir/EurocStereoVIO_ros.cpp.o: In functionros::Subscriber ros::NodeHandle::subscribe<navmsgs::Odometry<std::allocator > const&>(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, void ()(navmsgs::Odometry<std::allocator > const&), ros::TransportHints const&)': EurocStereoVIO_ros.cpp:(.text._ZN3ros10NodeHandle9subscribeIRKN8nav_msgs9Odometry_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvT_ERKNS_14TransportHintsE[_ZN3ros10NodeHandle9subscribeIRKN8nav_msgs9Odometry_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvT_ERKNS_14TransportHintsE]+0x2a6): undefined reference to ros::NodeHandle::subscribe(ros::SubscribeOptions&)' CMakeFiles/EurocStereoVIO_ros.dir/EurocStereoVIO_ros.cpp.o: In functionros::Subscriber ros::NodeHandle::subscribe<sensormsgs::Imu<std::allocator > const&>(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, void ()(sensormsgs::Imu<std::allocator > const&), ros::TransportHints const&)': EurocStereoVIO_ros.cpp:(.text._ZN3ros10NodeHandle9subscribeIRKN11sensor_msgs4Imu_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvT_ERKNS_14TransportHintsE[_ZN3ros10NodeHandle9subscribeIRKN11sensor_msgs4Imu_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvT_ERKNS_14TransportHintsE]+0x2a6): undefined reference to ros::NodeHandle::subscribe(ros::SubscribeOptions&)' CMakeFiles/EurocStereoVIO_ros.dir/EurocStereoVIO_ros.cpp.o: In functionros::Subscriber ros::NodeHandle::subscribe<geometrymsgs::PoseStamped<std::allocator > const&>(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, void (*)(geometrymsgs::PoseStamped<std::allocator > const&), ros::TransportHints const&)': EurocStereoVIO_ros.cpp:(.text._ZN3ros10NodeHandle9subscribeIRKN13geometry_msgs12PoseStamped_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvT_ERKNS_14TransportHintsE[_ZN3ros10NodeHandle9subscribeIRKN13geometry_msgs12PoseStamped_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvT_ERKNS_14TransportHintsE]+0x2a6): undefined reference to ros::NodeHandle::subscribe(ros::SubscribeOptions&)' CMakeFiles/EurocStereoVIO_ros.dir/EurocStereoVIO_ros.cpp.o: In functionros::Publisher ros::NodeHandle::advertise<visualizationmsgs::Marker<std::allocator > >(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, bool)': EurocStereoVIO_ros.cpp:(.text._ZN3ros10NodeHandle9advertiseIN18visualization_msgs7Marker_ISaIvEEEEENS_9PublisherERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjb[_ZN3ros10NodeHandle9advertiseIN18visualization_msgs7Marker_ISaIvEEEEENS_9PublisherERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjb]+0x1a9): undefined reference to ros::NodeHandle::advertise(ros::AdvertiseOptions&)' CMakeFiles/EurocStereoVIO_ros.dir/EurocStereoVIO_ros.cpp.o: In functionros::Publisher ros::NodeHandle::advertise<geometrymsgs::PoseStamped<std::allocator > >(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, bool)': EurocStereoVIO_ros.cpp:(.text._ZN3ros10NodeHandle9advertiseIN13geometry_msgs12PoseStamped_ISaIvEEEEENS_9PublisherERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjb[_ZN3ros10NodeHandle9advertiseIN13geometry_msgs12PoseStamped_ISaIvEEEEENS_9PublisherERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjb]+0x1a9): undefined reference to ros::NodeHandle::advertise(ros::AdvertiseOptions&)' CMakeFiles/EurocStereoVIO_ros.dir/EurocStereoVIO_ros.cpp.o: In functionros::Subscriber ros::NodeHandle::subscribe<mavrosmsgs::State<std::allocator > >(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, void (*)(boost::shared_ptr<mavrosmsgs::State<std::allocator > const> const&), ros::TransportHints const&)': EurocStereoVIO_ros.cpp:(.text._ZN3ros10NodeHandle9subscribeIN11mavros_msgs6State_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvRKN5boost10shared_ptrIKT_EEERKNS_14TransportHintsE[_ZN3ros10NodeHandle9subscribeIN11mavros_msgs6State_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvRKN5boost10shared_ptrIKT_EEERKNS_14TransportHintsE]+0x2a6): undefined reference to ros::NodeHandle::subscribe(ros::SubscribeOptions&)' CMakeFiles/EurocStereoVIO_ros.dir/EurocStereoVIO_ros.cpp.o: In functionmain': EurocStereoVIO_ros.cpp:(.text.startup+0x2236): undefined reference to `ros::init(int&, char**, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int)' EurocStereoVIO_ros.cpp:(.text.startup+0x22b6): undefined reference to ros::NodeHandle::NodeHandle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)' EurocStereoVIO_ros.cpp:(.text.startup+0x294c): undefined reference toros::spin()' EurocStereoVIO_ros.cpp:(.text.startup+0x295a): undefined reference to ros::Subscriber::~Subscriber()' EurocStereoVIO_ros.cpp:(.text.startup+0x2966): undefined reference toros::Subscriber::~Subscriber()' EurocStereoVIO_ros.cpp:(.text.startup+0x2972): undefined reference to ros::Publisher::~Publisher()' EurocStereoVIO_ros.cpp:(.text.startup+0x297e): undefined reference toros::Subscriber::~Subscriber()' EurocStereoVIO_ros.cpp:(.text.startup+0x298a): undefined reference to ros::Publisher::~Publisher()' EurocStereoVIO_ros.cpp:(.text.startup+0x2996): undefined reference toros::Publisher::~Publisher()' EurocStereoVIO_ros.cpp:(.text.startup+0x29aa): undefined reference to ros::Subscriber::~Subscriber()' EurocStereoVIO_ros.cpp:(.text.startup+0x29b6): undefined reference toros::Publisher::~Publisher()' EurocStereoVIO_ros.cpp:(.text.startup+0x29c2): undefined reference to ros::Subscriber::~Subscriber()' EurocStereoVIO_ros.cpp:(.text.startup+0x29ce): undefined reference toros::Subscriber::~Subscriber()' EurocStereoVIO_ros.cpp:(.text.startup+0x29ee): undefined reference to ros::NodeHandle::~NodeHandle()' EurocStereoVIO_ros.cpp:(.text.startup+0x2a70): undefined reference toros::Subscriber::~Subscriber()' EurocStereoVIO_ros.cpp:(.text.startup+0x2a7c): undefined reference to ros::Publisher::~Publisher()' EurocStereoVIO_ros.cpp:(.text.startup+0x2a88): undefined reference toros::Subscriber::~Subscriber()' EurocStereoVIO_ros.cpp:(.text.startup+0x2a94): undefined reference to ros::Publisher::~Publisher()' EurocStereoVIO_ros.cpp:(.text.startup+0x2aa0): undefined reference toros::Publisher::~Publisher()' EurocStereoVIO_ros.cpp:(.text.startup+0x2ab4): undefined reference to ros::Subscriber::~Subscriber()' EurocStereoVIO_ros.cpp:(.text.startup+0x2ac0): undefined reference toros::Publisher::~Publisher()' EurocStereoVIO_ros.cpp:(.text.startup+0x2acc): undefined reference to ros::Subscriber::~Subscriber()' EurocStereoVIO_ros.cpp:(.text.startup+0x2ad8): undefined reference toros::Subscriber::~Subscriber()' EurocStereoVIO_ros.cpp:(.text.startup+0x2af8): undefined reference to ros::NodeHandle::~NodeHandle()' EurocStereoVIO_ros.cpp:(.text.startup+0x3019): undefined reference toros::Subscriber::~Subscriber()' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In function mySigintHandler(int)': MakeSceneEurocStereoVIO_ros.cpp:(.text+0xcc5): undefined reference toros::shutdown()' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In function TEMP_FetchImageAndAttitudeCallback(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&, boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&, geometry_msgs::PoseStamped_<std::allocator<void> > const&)': MakeSceneEurocStereoVIO_ros.cpp:(.text+0x2f9b): undefined reference toros::Publisher::Impl::isValid() const' MakeSceneEurocStereoVIO_ros.cpp:(.text+0x44bd): undefined reference to ros::Publisher::publish(boost::function<ros::SerializedMessage ()> const&, ros::SerializedMessage&) const' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In functionmessage_filters::Subscriber<sensormsgs::Image<std::allocator > >::unsubscribe()': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE11unsubscribeEv[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE11unsubscribeEv]+0x5): undefined reference to ros::Subscriber::shutdown()' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In functionmessage_filters::Subscriber<geometrymsgs::PoseStamped<std::allocator > >::unsubscribe()': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEE11unsubscribeEv[_ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEE11unsubscribeEv]+0x5): undefined reference to ros::Subscriber::shutdown()' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In functionmessage_filters::Subscriber<geometrymsgs::PoseStamped<std::allocator > >::subscribe()': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEE9subscribeEv[_ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEE9subscribeEv]+0x32): undefined reference to ros::Subscriber::shutdown()' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEE9subscribeEv[_ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEE9subscribeEv]+0x72): undefined reference toros::NodeHandle::subscribe(ros::SubscribeOptions&)' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEE9subscribeEv[_ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEE9subscribeEv]+0xac): undefined reference to ros::Subscriber::~Subscriber()' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In functionmessage_filters::Subscriber<sensormsgs::Image<std::allocator > >::subscribe()': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeEv[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeEv]+0x32): undefined reference to ros::Subscriber::shutdown()' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeEv[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeEv]+0x72): undefined reference toros::NodeHandle::subscribe(ros::SubscribeOptions&)' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeEv[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeEv]+0xac): undefined reference to ros::Subscriber::~Subscriber()' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In functionmessage_filters::Subscriber<sensormsgs::Image<std::allocator > >::~Subscriber()': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED2Ev[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED5Ev]+0x23): undefined reference to ros::Subscriber::shutdown()' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED2Ev[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED5Ev]+0x2f): undefined reference toros::NodeHandle::~NodeHandle()' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED2Ev[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED5Ev]+0x40): undefined reference to ros::Subscriber::~Subscriber()' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In functionmessage_filters::Subscriber<geometrymsgs::PoseStamped<std::allocator > >::~Subscriber()': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEED2Ev[_ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEED5Ev]+0x23): undefined reference to ros::Subscriber::shutdown()' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEED2Ev[_ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEED5Ev]+0x2f): undefined reference toros::NodeHandle::~NodeHandle()' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEED2Ev[_ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEED5Ev]+0x40): undefined reference to ros::Subscriber::~Subscriber()' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In functionmessage_filters::Subscriber<geometrymsgs::PoseStamped<std::allocator > >::~Subscriber()': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEED0Ev[_ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEED5Ev]+0x23): undefined reference to ros::Subscriber::shutdown()' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEED0Ev[_ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEED5Ev]+0x30): undefined reference toros::NodeHandle::~NodeHandle()' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEED0Ev[_ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEED5Ev]+0x42): undefined reference to ros::Subscriber::~Subscriber()' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In functionmessage_filters::Subscriber<sensormsgs::Image<std::allocator > >::~Subscriber()': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED0Ev[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED5Ev]+0x23): undefined reference to ros::Subscriber::shutdown()' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED0Ev[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED5Ev]+0x30): undefined reference toros::NodeHandle::~NodeHandle()' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED0Ev[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEED5Ev]+0x42): undefined reference to ros::Subscriber::~Subscriber()' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In functionmessage_filters::Subscriber<sensormsgs::Image<std::allocator > >::subscribe(ros::NodeHandle&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, ros::TransportHints const&, ros::CallbackQueueInterface*)': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x4f): undefined reference to `ros::Subscriber::shutdown()' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x21d): undefined reference to ros::NodeHandle::subscribe(ros::SubscribeOptions&)' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x258): undefined reference toros::Subscriber::~Subscriber()' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x267): undefined reference to ros::NodeHandle::operator=(ros::NodeHandle const&)' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In functionmessage_filters::Subscriber<sensormsgs::Image<std::allocator > >::Subscriber(ros::NodeHandle&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, ros::TransportHints const&, ros::CallbackQueueInterface*)': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEEC2ERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEEC5ERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x206): undefined reference to `ros::NodeHandle::NodeHandle(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::map<std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::less<std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::cxx11::basic_string<char, std::char_traits, std::allocator > const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > > const&)' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEEC2ERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEEC5ERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x2de): undefined reference to `ros::NodeHandle::~NodeHandle()' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEEC2ERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN11sensor_msgs6Image_ISaIvEEEEC5ERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x2f0): undefined reference to ros::Subscriber::~Subscriber()' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In functionros::Subscriber ros::NodeHandle::subscribe<sensormsgs::NavSatFix<std::allocator > const&>(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, void ()(sensormsgs::NavSatFix<std::allocator > const&), ros::TransportHints const&)': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN3ros10NodeHandle9subscribeIRKN11sensor_msgs10NavSatFix_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvT_ERKNS_14TransportHintsE[_ZN3ros10NodeHandle9subscribeIRKN11sensor_msgs10NavSatFix_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvT_ERKNS_14TransportHintsE]+0x2a6): undefined reference to ros::NodeHandle::subscribe(ros::SubscribeOptions&)' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In functionros::Subscriber ros::NodeHandle::subscribe<navmsgs::Odometry<std::allocator > const&>(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, void ()(navmsgs::Odometry<std::allocator > const&), ros::TransportHints const&)': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN3ros10NodeHandle9subscribeIRKN8nav_msgs9Odometry_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvT_ERKNS_14TransportHintsE[_ZN3ros10NodeHandle9subscribeIRKN8nav_msgs9Odometry_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvT_ERKNS_14TransportHintsE]+0x2a6): undefined reference to ros::NodeHandle::subscribe(ros::SubscribeOptions&)' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In functionros::Subscriber ros::NodeHandle::subscribe<sensormsgs::Imu<std::allocator > const&>(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, void (*)(sensormsgs::Imu<std::allocator > const&), ros::TransportHints const&)': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN3ros10NodeHandle9subscribeIRKN11sensor_msgs4Imu_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvT_ERKNS_14TransportHintsE[_ZN3ros10NodeHandle9subscribeIRKN11sensor_msgs4Imu_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvT_ERKNS_14TransportHintsE]+0x2a6): undefined reference to ros::NodeHandle::subscribe(ros::SubscribeOptions&)' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In functionmessage_filters::Subscriber<geometrymsgs::PoseStamped<std::allocator > >::subscribe(ros::NodeHandle&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, ros::TransportHints const&, ros::CallbackQueueInterface)': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x4f): undefined reference to ros::Subscriber::shutdown()' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x21d): undefined reference toros::NodeHandle::subscribe(ros::SubscribeOptions&)' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x258): undefined reference to ros::Subscriber::~Subscriber()' MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE[_ZN15message_filters10SubscriberIN13geometry_msgs12PoseStamped_ISaIvEEEE9subscribeERN3ros10NodeHandleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS6_14TransportHintsEPNS6_22CallbackQueueInterfaceE]+0x267): undefined reference toros::NodeHandle::operator=(ros::NodeHandle const&)' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In function ros::Publisher ros::NodeHandle::advertise<visualization_msgs::Marker_<std::allocator<void> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, bool)': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN3ros10NodeHandle9advertiseIN18visualization_msgs7Marker_ISaIvEEEEENS_9PublisherERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjb[_ZN3ros10NodeHandle9advertiseIN18visualization_msgs7Marker_ISaIvEEEEENS_9PublisherERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjb]+0x1a9): undefined reference toros::NodeHandle::advertise(ros::AdvertiseOptions&)' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In function ros::Publisher ros::NodeHandle::advertise<geometry_msgs::PoseStamped_<std::allocator<void> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, bool)': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN3ros10NodeHandle9advertiseIN13geometry_msgs12PoseStamped_ISaIvEEEEENS_9PublisherERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjb[_ZN3ros10NodeHandle9advertiseIN13geometry_msgs12PoseStamped_ISaIvEEEEENS_9PublisherERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjb]+0x1a9): undefined reference toros::NodeHandle::advertise(ros::AdvertiseOptions&)' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In function `ros::Subscriber ros::NodeHandle::subscribe<mavrosmsgs::State<std::allocator > >(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, void ()(boost::shared_ptr<mavrosmsgs::State<std::allocator > const> const&), ros::TransportHints const&)': MakeSceneEurocStereoVIO_ros.cpp:(.text._ZN3ros10NodeHandle9subscribeIN11mavros_msgs6State_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvRKN5boost10shared_ptrIKT_EEERKNS_14TransportHintsE[_ZN3ros10NodeHandle9subscribeIN11mavros_msgs6State_ISaIvEEEEENS_10SubscriberERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPFvRKN5boost10shared_ptrIKT_EEERKNS_14TransportHintsE]+0x2a6): undefined reference to ros::NodeHandle::subscribe(ros::SubscribeOptions&)' CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/MakeSceneEurocStereoVIO_ros.cpp.o: In functionmain': MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x2604): undefined reference to `ros::init(int&, char**, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int)' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x268e): undefined reference to `ros::NodeHandle::NodeHandle(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::map<std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::less<std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::cxx11::basic_string<char, std::char_traits, std::allocator > const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > > const&)' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x2bdd): undefined reference to ros::NodeHandle::NodeHandle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x2f4d): undefined reference toros::spin()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x2f5b): undefined reference to ros::Subscriber::~Subscriber()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x2f67): undefined reference toros::Publisher::~Publisher()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x2f73): undefined reference to ros::Subscriber::~Subscriber()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x2f7f): undefined reference toros::Publisher::~Publisher()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x2f8b): undefined reference to ros::Publisher::~Publisher()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x2fab): undefined reference toros::Subscriber::~Subscriber()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x2fb7): undefined reference to ros::Publisher::~Publisher()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x2fc3): undefined reference toros::Subscriber::~Subscriber()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x2fcf): undefined reference to ros::Subscriber::~Subscriber()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x2fef): undefined reference toros::NodeHandle::~NodeHandle()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x30b6): undefined reference to ros::Subscriber::~Subscriber()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x30c2): undefined reference toros::Publisher::~Publisher()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x30ce): undefined reference to ros::Subscriber::~Subscriber()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x30da): undefined reference toros::Subscriber::~Subscriber()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x30fa): undefined reference to ros::NodeHandle::~NodeHandle()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x3252): undefined reference toros::Publisher::~Publisher()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x325e): undefined reference to ros::Subscriber::~Subscriber()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x326a): undefined reference toros::Publisher::~Publisher()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x3276): undefined reference to ros::Publisher::~Publisher()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x33ea): undefined reference toros::NodeHandle::~NodeHandle()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x33fe): undefined reference to ros::Subscriber::~Subscriber()' MakeSceneEurocStereoVIO_ros.cpp:(.text.startup+0x37da): undefined reference toros::Subscriber::~Subscriber()' collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status examples/CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/build.make:561: recipe for target '../bin/MakeSceneEurocStereoVIO_ros' failed make[2]: [../bin/MakeSceneEurocStereoVIO_ros] Error 1 examples/CMakeFiles/EurocStereoVIO_ros.dir/build.make:561: recipe for target '../bin/EurocStereoVIO_ros' failed make[2]: [../bin/EurocStereoVIO_ros] Error 1 CMakeFiles/Makefile2:2533: recipe for target 'examples/CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/all' failed make[1]: [examples/CMakeFiles/MakeSceneEurocStereoVIO_ros.dir/all] Error 2 CMakeFiles/Makefile2:2492: recipe for target 'examples/CMakeFiles/EurocStereoVIO_ros.dir/all' failed make[1]: [examples/CMakeFiles/EurocStereoVIO_ros.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 非常感谢您可以看这个问题。

ns15417 commented 4 years ago

@zhangmingcheng28 您这个很明显是ros的问题啊,是不是先检查一下ros的链接什么的,看看是否链接正确