Ask Your Question
0

rosrun executable or found error

asked 2014-07-03 10:25:52 -0500

hamdi gravatar image

hi, I used to hydro distribution of ros. I take to following error therefore I leave no stone unturned unfortunately I didn't correct. how can I correct this error?

Thank you in advance.

**"$rosrun my_pcl_tutorial example input:=/narrow_stereo_textured/points2

[rosrun] Couldn't find executable named example below /home/esetron/catkin_ws/src/my_pcl_tutorial

[rosrun] Found the following, but they're either not files,

[rosrun] or not executable:

[rosrun] /home/esetron/catkin_ws/src/my_pcl_tutorial/src/example"**

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-07-03 11:34:34 -0500

ahendrix gravatar image

I've usually seen users have this problem in a few cases:

  • Your package isn't built - run catkin_make in your workspace
  • You haven't added your excutable to your CMakeLists.txt - follow the tutorial for adding your executable to your CMakeLists.txt
  • You executable is built, but it's in the wrong place - make sure you're calling catkin_package() before add_exectuable() in your CMakeLists.txt
edit flag offensive delete link more

Comments

thank you Ahendrix, I forgot to do the third suggestion.

hamdi gravatar image hamdi  ( 2014-07-04 02:30:05 -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: 2014-07-03 10:25:52 -0500

Seen: 274 times

Last updated: Jul 04 '14