Open kevinchow1993 opened 6 years ago
You may try this ros-kinetic-ompl
If it still doesn't work I'll check again or update the code.
@kevinchow1993 I met the same problem. Have you solved it?
I met the similar error with ROS-melodic.
CMakeFiles/offline_planner_R2.dir/src/offline_planner_R2.cpp.o:在函数‘OfflinePlannerR2::planWithSimpleSetup(std::vector<double, std::allocator
/usr/bin/ld: warning: liboctomath.so.1.8, needed by /opt/ros/kinetic/lib/liboctomap.so, may conflict with liboctomath.so.1.6 CMakeFiles/path_planning_node.dir/src/path_planning.cpp.o:在函数‘planner::planner()’中: /home/kevin/caktin_ware/src/path_planning/src/path_planning.cpp:122:对‘ompl::base::SpaceInformation::SpaceInformation(std::shared_ptr const&)’未定义的引用
/home/kevin/caktin_ware/src/path_planning/src/path_planning.cpp:139:对‘ompl::base::ProblemDefinition::ProblemDefinition(std::shared_ptr const&)’未定义的引用
CMakeFiles/path_planning_node.dir/src/path_planning.cpp.o:在函数‘planner::plan()’中:
/home/kevin/caktin_ware/src/path_planning/src/path_planning.cpp:248:对‘ompl::geometric::PathSimplifier::PathSimplifier(std::shared_ptr const&, std::shared_ptr const&)’未定义的引用
collect2: error: ld returned 1 exit status
path_planning/CMakeFiles/path_planning_node.dir/build.make:539: recipe for target '/home/kevin/caktin_ware/devel/lib/path_planning/path_planning_node' failed
make[2]: [/home/kevin/caktin_ware/devel/lib/path_planning/path_planning_node] Error 1
CMakeFiles/Makefile2:11678: recipe for target 'path_planning/CMakeFiles/path_planning_node.dir/all' failed
make[1]: [path_planning/CMakeFiles/path_planning_node.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
i think it because i use wrong version of ompl, could you tell me which version do you use?