cartographer-project / cartographer_ros

Provides ROS integration for Cartographer.
Apache License 2.0
1.66k stars 1.21k forks source link

Cartographer_ros build failed #1567

Open harisiva1 opened 3 years ago

harisiva1 commented 3 years ago

Hi, I am trying to build the cartographer package using the below command line. catkin_make_isolated --install --use-ninja i am using Ros : Melodic cartographer and cartographer_ros_msgs gets compiled but the cartographer_ros package gets failed and the reason is not clear for me.can anyone support? Screenshot from 2020-11-23 18-55-27

johuber commented 3 years ago

were the dependencies properly installed? do you have ros-melodic-geometry-msgs ? It seems like it is trying to link it to eloquent stuff..

harisiva1 commented 3 years ago

sorry for the late reply. regarding the dependencies --> yes everything is perfect.please see the below image Screenshot from 2020-11-26 15-07-41

I am using both ros melodic and eloquent as i need both to work on a project. regarding the geometry-msg i don't get what do you mean.how do i check it? Thanks in advance!

johuber commented 3 years ago

hmm okay so seems like you did that part correctly. Just to be sure cartographer does not have a missing dependency: try sudo apt install ros-melodic-geometry-msgs and see if anything new is installed or not

although looking at the code to me it very much seems like dependencies are handled correctly and also our CI should fail if this was a problem.