error: couldn't find the executable "gira"

asked 2013-10-18 06:07:18 -0500

albarranco gravatar image

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

mkdir -p ~/catkin_ws/src

cd ~/catkin_ws/src

catkin_init_workspace

cd ~/catkin_ws

catkin_make

source devel/setup.bash

cd ~/catkin_ws/src

catkin_create_pkg beginner_tutorials geometry_msgs image_transport nav_msgs roscpp sensor_msgs std_msgs

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

add_executable(gira src/gira.cpp) and target_link_libraries(gira ${catkin_LIBRARIES})

cd ~/catkin_ws

catkin_make

source devel/setup.bash

my ROS_PACKAGE_PATH is: /home/turtlebot/catkin_ws/src/beginner_tutorials:/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

edit retag flag offensive close merge delete

Comments

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

tfoote gravatar image tfoote  ( 2013-10-19 17:58:39 -0500 )edit