Ask Your Question

catkin_make fails in tf tutorial

asked 2013-07-08 00:59:41 -0500

Dave Everett gravatar image

Following the TF tutorial

catkin_make does not make the files. I tried catkin_make robot_setup_tf as well and get the following result: dave@canbot:~/catkin_ws$ catkin_make robot_setup_tf Base path: /home/dave/catkin_ws Source space: /home/dave/catkin_ws/src Build space: /home/dave/catkin_ws/build Devel space: /home/dave/catkin_ws/devel Install space: /home/dave/catkin_ws/install


Running command: "make cmake_check_build_system" in "/home/dave/catkin_ws/build"



Running command: "make -j4 -l4 robot_setup_tf" in "/home/dave/catkin_ws/build"


make: * No rule to make target `robot_setup_tf'. Stop. Invoking "make" failed

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-07-08 01:51:02 -0500

First, make sure that you have sourced the workspace, i.e.

source %TOP_DIR_YOUR_CATKIN_WS%/devel/setup.bash

Second, check that you have created package in a right directory, i.e. %TOP_DIR_YOUR_CATKIN_WS%/src. I think there may be a mistake in tutorial, since it telling you to change to %TOP_DIR_YOUR_CATKIN_WS%.

Finally, if these are correct, and your package is within %TOP_DIR_YOUR_CATKIN_WS%/src, but you still cannot change to it with roscd robot_setup_tf, then do rospack profile and try again.

If you followed beginner tutorials then %TOP_DIR_YOUR_CATKIN_WS% will be ~/catkin_ws.

Hope it helps.

edit flag offensive delete link more

answered 2013-07-08 19:47:44 -0500

Dave Everett gravatar image

Thanks Boris, I had created the cpp files in the root rather than src. It's all working now.


edit flag offensive delete link more



Glad it worked :) Though, please do not use "Your Answer" form to thank people, comments should be used instead. Use "Your Answer" only if you have solution to your own problem.

Boris gravatar imageBoris ( 2013-07-08 20:07:39 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-07-08 00:59:41 -0500

Seen: 2,805 times

Last updated: Jul 08 '13