Robotics StackExchange | Archived questions

error: couldn't find the executable "gira"

Hello, I run the following commands in my terminal to create the executable "gira":

mkdir -p ~/catkin_ws/src

cd ~/catkin_ws/src

catkininitworkspace

cd ~/catkin_ws

catkin_make

source devel/setup.bash

cd ~/catkin_ws/src

catkincreatepkg beginnertutorials geometrymsgs imagetransport navmsgs roscpp sensormsgs stdmsgs

I copy gira.cpp in beginner_tutorials/src and I add to CMakeList.txt:

addexecutable(gira src/gira.cpp) and targetlinklibraries(gira ${catkinLIBRARIES})

cd ~/catkin_ws

catkin_make

source devel/setup.bash

my ROSPACKAGEPATH is: /home/turtlebot/catkinws/src/beginnertutorials:/opt/ros/groovy/share:/opt/ros/groovy/stacks

rosrun beginner_tutorials gira

And does not find the executable, what am I doing wrong? Thanks for help

Asked by albarranco on 2013-10-18 06:07:18 UTC

Comments

What is the output of the build step? use 'VERBOSE=1 catkin_make' to see more

Asked by tfoote on 2013-10-19 17:58:39 UTC

Answers