Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You need to run that command from the root of your workspace, not from the root of your package. In other words, cd to the root of your workspace and run that command:

cd ~/catkin_ws
catkin_make

You need to run that command from the root of your workspace, not from the root of your package. In other words, cd to the root of your workspace and run that command:

cd ~/catkin_ws
catkin_make

Update:

The part on that tutorial that says

$ cd ~/catkin_ws/src/turtlesim_cleaner 
$ mkdir src 
$ catkin_make

is incorrect. You should only call catkin_make from the root of your workspace. I've updated the tutorial. What it should (and does now) read is

$ cd ~/catkin_ws/src/turtlesim_cleaner
$ mkdir src
$ cd ~/catkin_ws
$ catkin_make

You need to run that command from the root of your workspace, not from the root of your package. In other words, cd to the root of your workspace and run that command:

cd ~/catkin_ws
catkin_make

Update:

The part on of that tutorial that says

$ cd ~/catkin_ws/src/turtlesim_cleaner 
$ mkdir src 
$ catkin_make

is incorrect. You should only call catkin_make from the root of your workspace. I've updated the tutorial. What it should (and does now) read is

$ cd ~/catkin_ws/src/turtlesim_cleaner
$ mkdir src
$ cd ~/catkin_ws
$ catkin_make