ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Unable to build turtlebot3 package from source using catkin build

asked 2020-11-15 10:34:54 -0600

updated 2020-11-15 10:47:29 -0600

I am currently running ROS-melodic on Ubuntu 18.04.

I cloned the repository (using the git clone command) from source to /home/catkin_ws/src directory. Then, from inside the catkin_ws directory, I ran the command catkin build turtlebot3.

This is the link to the error message.

This is the link to build.cmake.001.log at home/skpro19/catkin_ws/logs/turtlebot3_bringup/build.cmake.001.log as mentioned in the above error message.

I understand that it has got something to do with the CMakeLists.txt file of some package. But I am not exactly able to figure out what it is? I am not exactly clear about what CMakeLists.txt does in the first place.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2020-11-15 17:15:47 -0600

I was able to resolve the issue using this answer.

edit flag offensive delete link more
0

answered 2020-11-15 11:14:20 -0600

updated 2020-11-15 11:14:44 -0600

I think you missed to install turtlebot3_msgs package

Make sure to install all the dependencies

edit flag offensive delete link more

Comments

We can't just clone a package from the Git repository and expect it to build successfully. We need to use rosdep to get all the depedent packages first.

skpro19 gravatar image skpro19  ( 2020-11-15 17:18:57 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2020-11-15 10:34:54 -0600

Seen: 432 times

Last updated: Nov 15 '20