No executable in bin with rosmake on Groovy [closed]

asked 2013-10-06 09:20:50 -0500

Zayin gravatar image

updated 2013-10-06 13:11:23 -0500

I am trying to rosmake a modified version of openni_kinect, but despite rosmake returning success, there is no executable found in the bin folder.

Here is my CMakeLists.txt

cmake_minimum_required(VERSION 2.4.6)
include ($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
include ($ENV{ROS_ROOT}/core/rosbuild/FindPkgConfig.cmake)



pkg_check_modules(OPENNI libopenni)
include_directories(${OPENNI_INCLUDEDIR} /usr/include/nite)

rosbuild_add_executable(upperbody_tracker src/upperbody_tracker.cpp)
target_link_libraries(upperbody_tracker ${OPENNI_LIBRARIES})

rosbuild_add_executable(test src/test.cpp)
target_link_libraries(test ${OPENNI_LIBRARIES})

Here is the rosmake output:

bennie@ubuntu:~/groovy_workspace/upperbody_tracker$ rosmake upperbody_tracker 
[ rosmake ] rosmake starting...                                                                                                        
[ rosmake ] Packages requested are: ['upperbody_tracker']                                                                              
[ rosmake ] Logging to directory /home/bennie/.ros/rosmake/rosmake_output-20131006-140751                                              
[ rosmake ] Expanded args ['upperbody_tracker'] to:
[rosmake-0] Starting >>> catkin [ make ]                                                                                               
[rosmake-0] Finished <<< catkin ROS_NOBUILD in package catkin
 No Makefile in package catkin                                           
[rosmake-0] Starting >>> genmsg [ make ]                                                                                               
[rosmake-2] Starting >>> cpp_common [ make ]                                                                                           
[rosmake-3] Starting >>> orocos_kdl [ make ]                                                                                           
[rosmake-0] Finished <<< genmsg ROS_NOBUILD in package genmsg
 No Makefile in package genmsg                                           
[rosmake-4] Starting >>> rospack [ make ]                                                                                              
[rosmake-0] Starting >>> genlisp [ make ]                                                                                              
[rosmake-1] Starting >>> genpy [ make ]                                                                                                
[rosmake-3] Finished <<< orocos_kdl ROS_NOBUILD in package orocos_kdl
 No Makefile in package orocos_kdl                               
[rosmake-5] Starting >>> gencpp [ make ]                                                                                               
[rosmake-3] Starting >>> python_orocos_kdl [ make ]                                                                                    
[rosmake-6] Starting >>> roslang [ make ]                                                                                              
[rosmake-2] Finished <<< cpp_common ROS_NOBUILD in package cpp_common
 No Makefile in package cpp_common                               
[rosmake-3] Finished <<< python_orocos_kdl ROS_NOBUILD in package python_orocos_kdl
 No Makefile in package python_orocos_kdl          
[rosmake-3] Starting >>> kdl [ make ]                                                                                                  
[rosmake-7] Starting >>> rosgraph [ make ]                                                                                             
[rosmake-0] Finished <<< genlisp ROS_NOBUILD in package genlisp
 No Makefile in package genlisp                                        
[rosmake-2] Starting >>> rostime [ make ]                                                                                              
[rosmake-5] Finished <<< gencpp ROS_NOBUILD in package gencpp
 No Makefile in package gencpp                                           
[rosmake-0] Starting >>> xmlrpcpp [ make ]                                                                                             
[rosmake-5] Starting >>> rosclean [ make ]                                                                                             
[rosmake-4] Finished <<< rospack ROS_NOBUILD in package rospack
 No Makefile in package rospack                                        
[rosmake-4] Starting >>> roslib [ make ]                                                                                               
[rosmake-1] Finished <<< genpy ROS_NOBUILD in package genpy
 No Makefile in package genpy                                              
[rosmake-3] Finished <<< kdl ROS_NOBUILD in package kdl
 No Makefile in package kdl                                                    
[rosmake-3] Starting >>> angles [ make ]                                                                                               
[rosmake-1] Starting >>> message_generation [ make ]                                                                                   
[rosmake-2] Finished <<< rostime ROS_NOBUILD in package rostime
 No Makefile in package rostime                                        
[rosmake-6] Finished <<< roslang ROS_NOBUILD in package roslang
 No Makefile in package roslang                                        
[rosmake-0] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp
 No Makefile in package xmlrpcpp                                     
[rosmake-2] Starting >>> roscpp_traits [ make ]                                                                                        
[rosmake-7] Finished <<< rosgraph ROS_NOBUILD in package rosgraph
 No Makefile in package rosgraph                                     
[rosmake-7] Starting >>> rosparam [ make ]                                                                                             
[rosmake-4] Finished <<< roslib ROS_NOBUILD in package roslib
 No Makefile in package roslib                                           
[rosmake-5] Finished <<< rosclean ROS_NOBUILD in package rosclean
 No Makefile in package rosclean                                     
[rosmake-6] Starting >>> rosmaster [ make ]                                                                                            
[rosmake-4] Starting >>> rosunit [ make ]                                                                                              
[rosmake-3] Finished <<< angles ROS_NOBUILD in package angles
 No Makefile in package angles                                           
[rosmake-1] Finished <<< message_generation ROS_NOBUILD in package message_generation
 No Makefile in package message_generation       
[rosmake-6] Finished <<< rosmaster ROS_NOBUILD in package rosmaster
 No Makefile in package rosmaster                                  
[rosmake-2] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits
 No Makefile in package roscpp_traits                      
[rosmake-7] Finished <<< rosparam ROS_NOBUILD in package rosparam
 No Makefile in package rosparam                                     
[rosmake-4] Finished <<< rosunit ROS_NOBUILD in package rosunit
 No Makefile in package rosunit                                        
[rosmake-1] Starting >>> roscpp_serialization [ make ]                                                                                 
[rosmake-1] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization
 No Makefile in package roscpp_serialization 
[rosmake-3] Starting >>> message_runtime [ make ]                                                                                      
[rosmake-7] Starting >>> rosconsole [ make ]                                                                                           
[rosmake-3] Finished <<< message_runtime ROS_NOBUILD in package message_runtime
 No Makefile in package message_runtime                
[rosmake-7 ...
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2018-01-30 22:44:03.950377


Can you try just 'make' in the source directory and then rosrun?

SaiHV gravatar image SaiHV  ( 2013-10-06 10:14:33 -0500 )edit

Thanks for your reply! Yes, I actually had got it to work with make. Why isn't rosmake working though? (Btw, sorry if anyone saw multiple posts of this topic. The website was returning error messages when I was trying to post.)

Zayin gravatar image Zayin  ( 2013-10-06 13:12:33 -0500 )edit

Glad you got it working. About why rosmake is not working, one reason I can think of is openni_kinect using the catkin build system, which you have to handle with catkin_make; but that for some reason gives out an errors about not being run from the source directory.

SaiHV gravatar image SaiHV  ( 2013-10-06 14:33:53 -0500 )edit

Another might be because ROS_NOBUILD parameter was set, as you can see in the log. This is again probably an effect of it using the catkin system. I am not exactly sure what might be the reason, perhaps some experts can help.

SaiHV gravatar image SaiHV  ( 2013-10-06 14:34:45 -0500 )edit