ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Executable not found in /bin directory

asked 2012-02-09 06:08:40 -0600

metal gravatar image

updated 2014-01-28 17:11:19 -0600

ngrennan gravatar image

Hi guys, I am trying to make ROS and the opencv work together for bringing up the edge detection on a quadrotor called the ardrone. The code compiled successfully and was built using rosmake with 0 failures. But driver file was to found in the bin which was created.

I am using ROS-electric,ubuntu 10.10 Any suggestion please. This is my rosmake output:

[ rosmake ] No package specified. Building ['ardrone_kar']
[ rosmake ] Packages requested are: ['ardrone_kar']
[ rosmake ] Logging to directory/home/metallo/.ros/rosmake/rosmake_output-20120209-145539 [ rosmake ] Expanded args ['ardrone_kar'] to: ['ardrone_kar']
[ rosmake ] Checking rosdeps compliance for packages ardrone_kar. This may take a few seconds. [ rosmake ] rosdep check passed all system dependencies in packages
[rosmake-0] Starting >>> rosbuild [ make ]
[rosmake-0] Finished <<< rosbuild ROS_NOBUILD in package rosbuild No Makefile in package rosbuild [rosmake-1] Starting >>> cpp_common [ make ]
[rosmake-1] Finished <<< cpp_common ROS_NOBUILD in package cpp_common
[rosmake-2] Starting >>> roslib [ make ]
[rosmake-2] Finished <<< roslib ROS_NOBUILD in package roslib
[rosmake-3] Starting >>> opencv2 [ make ]
[rosmake-0] Starting >>> roslang [ make ]
[rosmake-1] Starting >>> roscpp_traits [ make ]
[rosmake-2] Starting >>> rostime [ make ]
[rosmake-0] Finished <<< roslang ROS_NOBUILD in package roslang No Makefile in package roslang [rosmake-0] Starting >>> xmlrpcpp [ make ]
[rosmake-1] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits
[rosmake-1] Starting >>> std_msgs [ make ]
[rosmake-2] Finished <<< rostime ROS_NOBUILD in package rostime
[rosmake-2] Starting >>> roscpp_serialization [ make ]
[rosmake-1] Finished <<< std_msgs ROS_NOBUILD in package std_msgs
[rosmake-0] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp
[rosmake-0] Starting >>> rosconsole [ make ]
[rosmake-2] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization [rosmake-2] Starting >>> rosclean [ make ]
[rosmake-3] Finished <<< opencv2 ROS_NOBUILD in package opencv2
[rosmake-1] Starting >>> rosgraph_msgs [ make ]
[rosmake-0] Finished <<< rosconsole ROS_NOBUILD in package rosconsole
[rosmake-3] Starting >>> rosgraph [ make ]
[rosmake-0] Starting >>> rosparam [ make ]
[rosmake-2] Finished <<< rosclean ROS_NOBUILD in package rosclean
[rosmake-1] Finished <<< rosgraph_msgs ROS_NOBUILD in package rosgraph_msgs
[rosmake-1] Starting >>> roscpp [ make ]
[rosmake-2] Starting >>> rosmaster [ make ]
[rosmake-0] Finished <<< rosparam ROS_NOBUILD in package rosparam
[rosmake-3] Finished <<< rosgraph ROS_NOBUILD in package rosgraph
[rosmake-2] Finished <<< rosmaster ROS_NOBUILD in package rosmaster
[rosmake-3] Starting >>> rospy [ make ]
[rosmake-2] Starting >>> rosunit [ make ]
[rosmake-1] Finished <<< roscpp ROS_NOBUILD in package roscpp
[rosmake-1] Starting >>> rosout [ make ]
[rosmake-0] Starting >>> pluginlib [ make ]
[rosmake-3] Finished <<< rospy ROS_NOBUILD in package rospy
[rosmake-1] Finished <<< rosout ROS_NOBUILD in package rosout
[rosmake-0] Finished <<< pluginlib ROS_NOBUILD in package pluginlib
[rosmake-2] Finished <<< rosunit ROS_NOBUILD in package rosunit
[rosmake-1] Starting >>> roslaunch [ make ]
[rosmake-1] Finished <<< roslaunch ROS_NOBUILD in package roslaunch No Makefile in package roslaunch [rosmake-1] Starting >>> rostest [ make ]
[rosmake-1] Finished <<< rostest ROS_NOBUILD in package rostest
[rosmake-1] Starting >>> topic_tools [ make ]
[rosmake-1] Finished <<< topic_tools ROS_NOBUILD in package topic_tools
[rosmake-1] Starting >>> rosbag [ make ]
[rosmake-2] Starting >>> message_filters [ make ]
[rosmake-1] Finished <<< rosbag ROS_NOBUILD in package rosbag
[rosmake-2] Finished <<< message_filters ROS_NOBUILD in package message_filters [rosmake-1] Starting >>> rosbagmigration [ make ]
[rosmake-1] Finished <<< rosbagmigration ROS_NOBUILD in package rosbagmigration No Makefile in package rosbagmigration [rosmake-1] Starting >>> geometry_msgs [ make ]
[rosmake-1] Finished <<< geometry_msgs ROS_NOBUILD in package geometry_msgs
[rosmake-1] Starting >>> sensor_msgs [ make ]
[rosmake-1] Finished <<< sensor_msgs ROS_NOBUILD in package sensor_msgs
[rosmake-1] Starting >>> image_transport [ make ]
[rosmake-2] Starting >>> cv_bridge [ make ]
[rosmake-1] Finished <<< image_transport ROS_NOBUILD in package image_transport [rosmake-2] Finished <<< cv_bridge ROS_NOBUILD in package cv_bridge
[rosmake-1] Starting >>> ardrone_kar [ make ]
[rosmake-1] Finished <<< ardrone_kar [PASS] [ 0.19 seconds ]
[ rosmake ] Results:
[ rosmake ] Built 33 packages with 0 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home ...
(more)

edit retag flag offensive close merge delete

Comments

"But driver file was to found in the bin which was created." - this looks like a description of the problem, but it doesn't make any sense to me. Can you clarify?
ahendrix gravatar image ahendrix  ( 2012-02-09 16:28:23 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2012-02-09 14:29:49 -0600

tfoote gravatar image

You appear to have the same target name for the library and the executable. I believe the 2nd declaration of the target will shadow the previous one.

edit flag offensive delete link more
1

answered 2012-02-09 06:42:16 -0600

DimitriProsser gravatar image

updated 2012-02-09 07:20:48 -0600

Make sure that you add rosbuild_add_executable(executable_name src/source_file.cpp) to CMakeLists.txt.

EDIT:

Try using make instead of rosmake for a more detailed output.

edit flag offensive delete link more

Comments

Yes it was there all along .I checked it. But it doesn't have any effect it seems. I have uploaded the cmakelist too please do have a look at it. thanks
metal gravatar image metal  ( 2012-02-09 06:55:02 -0600 )edit
I tried make command too the results are the same.
metal gravatar image metal  ( 2012-02-09 07:55:37 -0600 )edit

Question Tools

Stats

Asked: 2012-02-09 06:08:40 -0600

Seen: 1,840 times

Last updated: Feb 09 '12