Ask Your Question
-1

How do i remove this error while executing publisher subscriber in ros?

asked 2016-05-14 10:31:30 -0500

dinesh gravatar image

updated 2016-05-14 11:19:56 -0500

i've got this error:

The specified base path "/home/dinesh/catkin_ws/src/beginner_tutorials" contains a package but "catkin_make" must be invoked in the root of workspace.

How can i remove it? I'm trying to run the pub/sub program.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-05-14 11:22:42 -0500

As the error says catkin_make must be invoked in the root of the workspace. What this means is that you must change your directory to be in the root of the workspace before running catkin_make.

cd /home/dinesh/catkin_ws
catkin_make

The tutorials make reference to this behavior. Although I think they often leave out an explicit call to cd. Hope that helps!

edit flag offensive delete link more

Comments

got it, thanks, new to linux so, little confusion.

dinesh gravatar image dinesh  ( 2016-05-15 14:06:51 -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

1 follower

Stats

Asked: 2016-05-14 10:31:30 -0500

Seen: 62 times

Last updated: May 14 '16