对`boost::re_detail

问题描述 投票:0回答:1

我是catkin_make VINS-MONO,错误:

undefined reference to `boost::re_detail`
undefined reference to `boost::filesystem::detail::directory_iterator 

出来了,为什么?

当我编译VINS-MONO时,catkin_make: 这是错误:

/usr/bin/ld: /home/long/cv_bridge_ws/devel/lib/libcv_bridge.so: undefined reference to `boost::re_detail_107300::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)'
/usr/bin/ld: /home/long/cv_bridge_ws/devel/lib/libcv_bridge.so: undefined reference to `boost::re_detail_107300::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::match()'
collect2: error: ld returned 1 exit status
make[2]: *** [VINS-Mono/ar_demo/CMakeFiles/ar_demo_node.dir/build.make:198: /home/long/catkin_vs/devel/lib/ar_demo/ar_demo_node] Error 1
make[1]: *** [CMakeFiles/Makefile2:1779: VINS-Mono/ar_demo/CMakeFiles/ar_demo_node.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: final link failed: No space left on device
collect2: error: ld returned 1 exit status
make[2]: *** [VINS-Mono/pose_graph/CMakeFiles/pose_graph.dir/build.make:387: /home/long/catkin_vs/devel/lib/pose_graph/pose_graph] Error 1
make[1]: *** [CMakeFiles/Makefile2:1961: VINS-Mono/pose_graph/CMakeFiles/pose_graph.dir/all] Error 2
/usr/bin/ld: final link failed: No space left on device
collect2: error: ld returned 1 exit status
make[2]: *** [VINS-Mono/feature_tracker/CMakeFiles/feature_tracker.dir/build.make:220: /home/long/catkin_vs/devel/lib/feature_tracker/feature_tracker] Error 1
make[1]: *** [CMakeFiles/Makefile2:1805: VINS-Mono/feature_tracker/CMakeFiles/feature_tracker.dir/all] Error 2
[ 55%] Linking CXX executable /home/long/catkin_vs/devel/lib/camera_model/Calibration
/usr/bin/ld: CMakeFiles/Calibration.dir/src/intrinsic_calib.cc.o: in function `main':
intrinsic_calib.cc:(.text.startup+0x121a): undefined reference to `boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, unsigned int, boost::system::error_code*)'
/usr/bin/ld: intrinsic_calib.cc:(.text.startup+0x125b): undefined reference to `boost::filesystem::directory_entry::get_status(boost::system::error_code*) const'
collect2: error: ld returned 1 exit status
make[2]: *** [VINS-Mono/camera_model/CMakeFiles/Calibration.dir/build.make:340: /home/long/catkin_vs/devel/lib/camera_model/Calibration] Error 1
make[1]: *** [CMakeFiles/Makefile2:1727: VINS-Mono/camera_model/CMakeFiles/Calibration.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Invoking "make -j8 -l8" failed
boost compilation
1个回答
0
投票

我发现您的磁盘空间不足:

/usr/bin/ld:最终链接失败:设备上没有剩余空间

尝试腾出空间或将构建位置移动到具有更多可用空间的卷。

© www.soinside.com 2019 - 2024. All rights reserved.