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

"The specified base path "/home/rui/catkin_ws" contains a package but "catkin_make" must be invoked in the root of workspace" how can I fix it?

asked 2015-11-25 14:23:26 -0600

ruiscf gravatar image

updated 2015-11-26 00:50:00 -0600

Akif gravatar image

my root workspace is /home/rui/catkin_ws

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-11-26 00:49:04 -0600

Akif gravatar image

It seems like you have a problem with your workspace structure.

As the message tells, you should run catkin_make in workspace root folder. Your workspace should have a tree like this:


And in this tree you should run catkin_make in catkin_ws folder.

If problem persists you can try recreating your workspace following the guide:

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-11-25 14:23:26 -0600

Seen: 20,873 times

Last updated: Nov 26 '15