Rosrun is not able to find executables after building successfully

asked 2018-02-01 01:38:41 -0500

meghna_gandhi24 gravatar image

updated 2018-02-01 09:59:57 -0500

jayess gravatar image


I have tried to run talker.cpp file, and after running catkin_make and source the source ./devel/setup.bash. while running rosrun beginner_tutorials talker , I got following error.

~/catkin_ws$ rosrun beginner_tutorials talker
[rosrun] Couldn't find executable named talker below /home/meghana/catkin_ws/src/beginner_tutorials
edit retag flag offensive close merge delete


Have you edited the CMakeList.txt file in order to create the executable?

Atik gravatar image Atik  ( 2018-02-01 07:14:05 -0500 )edit

could you include the log of the catkin_make? Maybe it wasn't built correctly. Also make sure that you are sourcing your catkin_ws correctly. Try source /home/meghana/catkin_ws/devel/setup.bash

tofyr gravatar image tofyr  ( 2018-02-01 09:51:52 -0500 )edit

Did you make the talker node? I'm assuming that you're going through the tutorials from the wiki?

jayess gravatar image jayess  ( 2018-02-01 10:02:13 -0500 )edit