Ask Your Question
0

create package can't generate binary

asked 2012-05-11 07:37:31 -0500

David B gravatar image

updated 2012-05-12 19:58:21 -0500

hi,I follow the "Writing a Simple Publisher and Subscriber (C++)" turtorial to create package,all seem to have no error, but after the build process, I can't find any binary in the bin folder.The same case also occur in my eclipse environment.Actually earlier I used diamondback I can successfully do all this. my ros version is electric . any suggestion would be appreciate! thanks in advance!!

viiv@viiv-ThinkStation-S10:~$ rosmake test [ rosmake ] Packages requested are: ['test']
[ rosmake ] Logging to directory/home/viiv/.ros/rosmake/rosmake_output-20120512-012517 [ rosmake ] Expanded args ['test'] to: ['test']
[ rosmake ] Checking rosdeps compliance for packages test. 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 >>> bullet [ make ]
[rosmake-0] Starting >>> roslang [ make ]
[rosmake-2] Starting >>> roscpp_traits [ make ]
[rosmake-1] Starting >>> rostime [ make ]
[rosmake-3] Finished <<< bullet ROS_NOBUILD in package bullet
[rosmake-2] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits
[rosmake-3] Starting >>> xmlrpcpp [ make ]
[rosmake-2] Starting >>> std_msgs [ make ]
[rosmake-1] Finished <<< rostime ROS_NOBUILD in package rostime
[rosmake-0] Finished <<< roslang ROS_NOBUILD in package roslang No Makefile in package roslang [rosmake-1] Starting >>> roscpp_serialization [ make ]
[rosmake-2] Finished <<< std_msgs ROS_NOBUILD in package std_msgs
[rosmake-0] Starting >>> rosgraph_msgs [ make ]
[rosmake-2] Starting >>> rosconsole [ make ]
[rosmake-3] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp
[rosmake-3] Starting >>> rosclean [ make ]
[rosmake-1] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization [rosmake-1] Starting >>> rosgraph [ make ]
[rosmake-0] Finished <<< rosgraph_msgs ROS_NOBUILD in package rosgraph_msgs
[rosmake-0] Starting >>> rospy [ make ]
[rosmake-2] Finished <<< rosconsole ROS_NOBUILD in package rosconsole
[rosmake-2] Starting >>> roscpp [ make ]
[rosmake-1] Finished <<< rosgraph ROS_NOBUILD in package rosgraph
[rosmake-3] Finished <<< rosclean ROS_NOBUILD in package rosclean
[rosmake-1] Starting >>> rosparam [ make ]
[rosmake-0] Finished <<< rospy ROS_NOBUILD in package rospy
[rosmake-0] Starting >>> rosmaster [ make ]
[rosmake-1] Finished <<< rosparam ROS_NOBUILD in package rosparam
[rosmake-2] Finished <<< roscpp ROS_NOBUILD in package roscpp
[rosmake-0] Finished <<< rosmaster ROS_NOBUILD in package rosmaster
[rosmake-3] Starting >>> rosunit [ make ]
[rosmake-1] Starting >>> rosout [ make ]
[rosmake-1] Finished <<< rosout ROS_NOBUILD in package rosout
[rosmake-3] Finished <<< rosunit ROS_NOBUILD in package rosunit
[rosmake-2] Starting >>> angles [ make ]
[rosmake-0] Starting >>> roslaunch [ make ]
[rosmake-2] Finished <<< angles ROS_NOBUILD in package angles
[rosmake-0] Finished <<< roslaunch ROS_NOBUILD in package roslaunch No Makefile in package roslaunch [rosmake-1] Starting >>> rosnode [ make ]
[rosmake-1] Finished <<< rosnode ROS_NOBUILD in package rosnode
[rosmake-2] Starting >>> rostest [ make ]
[rosmake-2] Finished <<< rostest ROS_NOBUILD in package rostest
[rosmake-2] Starting >>> topic_tools [ make ]
[rosmake-2] Finished <<< topic_tools ROS_NOBUILD in package topic_tools
[rosmake-2] Starting >>> rosbag [ make ]
[rosmake-0] Starting >>> message_filters [ make ]
[rosmake-2] Finished <<< rosbag ROS_NOBUILD in package rosbag
[rosmake-2] Starting >>> rosbagmigration [ make ]
[rosmake-0] Finished <<< message_filters ROS_NOBUILD in package message_filters [rosmake-0] Starting >>> rosmsg [ make ]
[rosmake-2] Finished <<< rosbagmigration ROS_NOBUILD in package rosbagmigration No Makefile in package rosbagmigration [rosmake-0] Finished <<< rosmsg ROS_NOBUILD in package rosmsg No Makefile in package rosmsg [rosmake-0] Starting >>> rostopic [ make ]
[rosmake-2] Starting >>> geometry_msgs [ make ]
[rosmake-0] Finished <<< rostopic ROS_NOBUILD in package rostopic
[rosmake-2] Finished <<< geometry_msgs ROS_NOBUILD in package geometry_msgs
[rosmake-2] Starting >>> sensor_msgs [ make ]
[rosmake-0] Starting >>> rosservice [ make ]
[rosmake-0] Finished <<< rosservice ROS_NOBUILD in package rosservice
[rosmake-0] Starting >>> roswtf [ make ...

(more)
edit retag flag offensive close merge delete

Comments

Have you tried with Fuerte? Or are you limited to electric for some other reason?

Mac gravatar image Mac  ( 2012-05-11 07:45:20 -0500 )edit

What is in your CMakeLists.txt?

tfoote gravatar image tfoote  ( 2012-05-11 08:02:01 -0500 )edit

I have tried diamondback it's ok!!

David B gravatar image David B  ( 2012-05-12 19:59:15 -0500 )edit

I'm not sure what you mean.

Mac gravatar image Mac  ( 2012-05-13 06:59:48 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-05-25 06:19:54 -0500

Stephan gravatar image

updated 2012-05-25 06:22:16 -0500

You should not name your target executable test as this is a special target for CMake to compile and run unittests. If you have no unittests defined, nothing happens. Rename your binary target and try again. Maybe you have to rename your package as well.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-05-11 07:37:31 -0500

Seen: 324 times

Last updated: May 25 '12