qboticslabs / mastering_ros

This repository contains exercise files of the book "Mastering ROS for Robotics Programming"
https://www.packtpub.com/hardware-and-creative/mastering-ros-robotics-programming
479 stars 282 forks source link

catkin_make gets error #27

Closed TrinhNC closed 7 years ago

TrinhNC commented 7 years ago

Hi everyone, I tried to catkin_make the Chapter 1 demo but got this error:

make: *** No rule to make target `mastering_ros_demo_package'.  Stop.
Invoking "make mastering_ros_demo_package -j8 -l8" failed

Does anyone know what's wrong?

TrinhNC commented 7 years ago

I found the problem. In the book it said running this command: catkin_make mastering_ros_demo_package but it should be catkin_make mastering_ros_demo_pkg because the name of the real folder ends with "_pkg" not "_package". This applies to all the other commands.