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

Build in ubuntu melodic #18

Open
arnauddomes opened this issue Jan 18, 2021 · 2 comments
Open

Build in ubuntu melodic #18

arnauddomes opened this issue Jan 18, 2021 · 2 comments

Comments

@arnauddomes
Copy link

Hello,

I try to build the repo on ubuntu 18.04 and melodic:

I get that error

CMakeFiles/old_path_planning.dir/src/old_path_planning.cpp.o: In function `plan()':
old_path_planning.cpp:(.text+0x695): undefined reference to `ompl::base::SpaceInformation::SpaceInformation(std::shared_ptr<ompl::base::StateSpace> const&)'
old_path_planning.cpp:(.text+0x7e4): undefined reference to `ompl::base::ProblemDefinition::ProblemDefinition(std::shared_ptr<ompl::base::SpaceInformation> const&)'
old_path_planning.cpp:(.text+0x8a5): undefined reference to `ompl::geometric::RRTConnect::RRTConnect(std::shared_ptr<ompl::base::SpaceInformation> const&)'
collect2: error: ld returned 1 exit status
path_planning/CMakeFiles/old_path_planning.dir/build.make:543: recipe for target '/home/xavier/catkin_ws/devel/lib/path_planning/old_path_planning' failed
make[2]: *** [/home/xavier/catkin_ws/devel/lib/path_planning/old_path_planning] Error 1
CMakeFiles/Makefile2:5781: recipe for target 'path_planning/CMakeFiles/old_path_planning.dir/all' failed
make[1]: *** [path_planning/CMakeFiles/old_path_planning.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
CMakeFiles/path_planning_node.dir/src/path_planning.cpp.o: In function `planner::planner()':
path_planning.cpp:(.text._ZN7plannerC2Ev[_ZN7plannerC5Ev]+0x378): undefined reference to `ompl::base::SpaceInformation::SpaceInformation(std::shared_ptr<ompl::base::StateSpace> const&)'
path_planning.cpp:(.text._ZN7plannerC2Ev[_ZN7plannerC5Ev]+0x529): undefined reference to `ompl::base::ProblemDefinition::ProblemDefinition(std::shared_ptr<ompl::base::SpaceInformation> const&)'
CMakeFiles/path_planning_node.dir/src/path_planning.cpp.o: In function `planner::plan()':
path_planning.cpp:(.text._ZN7planner4planEv[_ZN7planner4planEv]+0x533): undefined reference to `ompl::geometric::PathSimplifier::PathSimplifier(std::shared_ptr<ompl::base::SpaceInformation> const&, std::shared_ptr<ompl::base::Goal> const&)'
collect2: error: ld returned 1 exit status
path_planning/CMakeFiles/path_planning_node.dir/build.make:543: recipe for target '/home/xavier/catkin_ws/devel/lib/path_planning/path_planning_node' failed
make[2]: *** [/home/xavier/catkin_ws/devel/lib/path_planning/path_planning_node] Error 1
CMakeFiles/Makefile2:5808: recipe for target 'path_planning/CMakeFiles/path_planning_node.dir/all' failed
make[1]: *** [path_planning/CMakeFiles/path_planning_node.dir/all] Error 2
/usr/bin/ld: warning: libopencv_imgproc.so.3.2, needed by /home/xavier/catkin_ws/devel/lib/libgrid_map_ros.so, may conflict with libopencv_imgproc.so.4.0
[ 81%] Built target interpolation_demo
/usr/bin/ld: warning: libopencv_imgproc.so.3.2, needed by /home/xavier/catkin_ws/devel/lib/libgrid_map_ros.so, may conflict with libopencv_imgproc.so.4.0
[ 81%] Built target normal_filter_comparison_demo
Makefile:157: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed

I try many thinks, install ros-melodic-ompl and libompl from source.
Is there a way to make the repo work on melodic ?

@afaroo01
Copy link

Hi,
I am facing the same issue @arnauddomes to run on melodic. Was the above issue resolved?

@hichamhendy
Copy link

Me too...

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

3 participants