Ask Your Question

Error when using catkin_make command

asked 2017-01-02 08:54:27 -0500

Werewolf_86 gravatar image


I was going through this tutorial :

I went step by step through the tutorial. Everything went well until i tried executing the command: catkin_make

It gives me error:

The specified base path "/home/rajesh/using_markers" contains a package but "catkin_make" must be invoked in the root of workspace

I don't know how to fix this error before proceeding with the tutorial. I appreciate any help.

Thanks and regards.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-01-02 10:18:22 -0500

paulbovbel gravatar image

You should go through this tutorial ( ) to learn how to use workspaces and packages.

edit flag offensive delete link more

answered 2018-05-06 20:14:34 -0500

Do the following:

Goto your workspace,

$ cd "your workspace path"


$ ls

You will see something as

build devel src

Now execute your command-line: "$ catkin_make"

$ catkin_make

Your error occur because you are not in the workspace directory, you can see the folder in this command


If the folder not exists, you can create,

$ mkdir ~/catkin_ws/src

Copy your folder to ~/catkin_ws/src

edit flag offensive delete link more

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: 2017-01-02 08:54:27 -0500

Seen: 378 times

Last updated: Jan 02 '17