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

The specified base path "/home/cdslab/catkin_ws" contains a CMakeLists.txt but "catkin_make" must be invoked in the root of workspace. This is the error I am seeing in my terminal.

asked 2016-05-07 00:10:32 -0500

shraddha gravatar image

I have initialized the workspace in src. And my current catkin_ws has a src folder and a cmakeLists.txt shortcut. I have followed the tutorials , still it shows me an error!Please can someone guide me regarding this? thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-05-07 11:15:00 -0500

spmaniato gravatar image

updated 2016-05-07 11:33:36 -0500

The CMakeLists.txt file (symlink) should have been under src. You probably initialized the workspace in catkin_ws, not catkin_ws/src. I'd start again from scratch.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-05-07 00:10:32 -0500

Seen: 2,692 times

Last updated: May 07 '16