[rospack] Error: stack/package pointing_gesture not found

I was doing the Publisher/Subscriber tutorial given on the website.

I created a package using catkin_create_package, built it using catkin_make then tried running rosrun

there it gives Package not found error.

Solution: 

run source /path/to/your/catkin_ws/devel/setup.bash (Examining the Simple Publisher and Subscriber - Running the Publisher). Excerpt from that page:

[..] If you are using catkin, make sure you have sourced your workspace's setup.sh file after calling catkin_make but before trying to use your applications:


你可能感兴趣的:([rospack] Error: stack/package pointing_gesture not found)