Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catkin_make error #3

Open
kevinchow1993 opened this issue Jun 21, 2018 · 3 comments
Open

catkin_make error #3

kevinchow1993 opened this issue Jun 21, 2018 · 3 comments

Comments

@kevinchow1993
Copy link

/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_ptrompl::base::StateSpace const&)’未定义的引用
/home/kevin/caktin_ware/src/path_planning/src/path_planning.cpp:139:对‘ompl::base::ProblemDefinition::ProblemDefinition(std::shared_ptrompl::base::SpaceInformation 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_ptrompl::base::SpaceInformation const&, std::shared_ptrompl::base::Goal 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?

@ayushgaud
Copy link
Owner

You may try this ros-kinetic-ompl If it still doesn't work I'll check again or update the code.

@Robinaoko
Copy link

@kevinchow1993 I met the same problem. Have you solved it?

@jkdxg
Copy link

jkdxg commented Dec 10, 2020

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 >, std::vector<double, std::allocator >, autonomous_explore_map_plan::FindPathToGoalResponse_<std::allocator >&)’中:
offline_planner_R2.cpp:(.text+0xbdd):对‘ompl::geometric::RRT::RRT(std::shared_ptrompl::base::SpaceInformation const&)’未定义的引用
offline_planner_R2.cpp:(.text+0xce3):对‘ompl::geometric::RRTConnect::RRTConnect(std::shared_ptrompl::base::SpaceInformation const&)’未定义的引用
offline_planner_R2.cpp:(.text+0xecc):对‘ompl::geometric::RRT::RRT(std::shared_ptrompl::base::SpaceInformation const&)’未定义的引用
CMakeFiles/offline_planner_R2.dir/src/offline_planner_R2.cpp.o:在函数‘OfflinePlannerR2::visualizeRRT(ompl::geometric::PathGeometric)’中:
offline_planner_R2.cpp:(.text+0x1b6b):对‘ompl::base::PlannerData::PlannerData(std::shared_ptrompl::base::SpaceInformation const&)’未定义的引用
collect2: error: ld returned 1 exit status
Have you solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants