Skip to content

catkin_make 报错 #2

Description

@zhangqilu

[ 93%] Linking CXX executable /home/dell/roshybridA_ws/devel/lib/hybrid_astar_planner/test_planner
/usr/bin/ld: CMakeFiles/test_planner.dir/test_the_plugin/src/test_plugins.cpp.o: in function boost::filesystem::path::operator/=(boost::filesystem::path const&)': test_plugins.cpp:(.text._ZN5boost10filesystem4pathdVERKS1_[_ZN5boost10filesystem4pathdVERKS1_]+0x33): undefined reference to boost::filesystem::path::append_v3(boost::filesystem::path const&)'
/usr/bin/ld: CMakeFiles/test_planner.dir/test_the_plugin/src/test_plugins.cpp.o: in function boost::filesystem::path::parent_path() const': test_plugins.cpp:(.text._ZNK5boost10filesystem4path11parent_pathEv[_ZNK5boost10filesystem4path11parent_pathEv]+0x2c): undefined reference to boost::filesystem::path::find_parent_path_size() const'
/usr/bin/ld: CMakeFiles/test_planner.dir/test_the_plugin/src/test_plugins.cpp.o: in function pluginlib::ClassLoader<nav_core::BaseGlobalPlanner>::getPackageFromPluginXMLFilePath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': test_plugins.cpp:(.text._ZN9pluginlib11ClassLoaderIN8nav_core17BaseGlobalPlannerEE31getPackageFromPluginXMLFilePathERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN9pluginlib11ClassLoaderIN8nav_core17BaseGlobalPlannerEE31getPackageFromPluginXMLFilePathERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x1cf): undefined reference to boost::filesystem::path::filename_v3() const'
collect2: error: ld returned 1 exit status
make[2]: *** [hybrid_astar_planner/CMakeFiles/test_planner.dir/build.make:148:/home/dell/roshybridA_ws/devel/lib/hybrid_astar_planner/test_planner] 错误 1
make[1]: *** [CMakeFiles/Makefile2:2337:hybrid_astar_planner/CMakeFiles/test_planner.dir/all] 错误 2
make[1]: *** 正在等待未完成的任务....
make[1]: *** [CMakeFiles/Makefile2:2389:hybrid_astar_planner/CMakeFiles/hybrid_astar_planner.dir/all] 错误 2
make: *** [Makefile:146:all] 错误 2
Invoking "make -j20 -l20" failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions