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
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
What is the output of the build step? use 'VERBOSE=1 catkin_make' to see more