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

"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 -0500

ruiscf gravatar image

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

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
10

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

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:

/home
  /rui
    /catkin_ws
      /build
      /devel
      /src
         /your_ros_package
         /your_other_rospackage

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: http://wiki.ros.org/catkin/Tutorials/...

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 21,635 times

Last updated: Nov 26 '15