Ask Your Question
0

[Build Error] rosmake openni_camera

asked 2011-05-30 16:55:01 -0500

Juno gravatar image

updated 2014-01-28 17:09:46 -0500

ngrennan gravatar image
[ rosmake ] Packages requested are: ['openni_camera']                           
[ rosmake ] Logging to directory/home/juno/.ros/rosmake/rosmake_output-20110531-135105
[ rosmake ] Expanded args ['openni_camera'] to:
['openni_camera']               
[ rosmake ] Checking rosdeps compliance for packages openni_camera.  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 >>> xmlrpcpp [ make ]                                      
[rosmake-3] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp               
[rosmake-4] Starting >>> rosgraph_msgs [ make ]                                 
[rosmake-4] Finished <<< rosgraph_msgs ROS_NOBUILD in package rosgraph_msgs     
[ rosmake ] [ make ] [ rosbuild: 0.1 sec ] [ cpp_c... [ 5 Active 1/54 Complete ]
[rosmake-5] Starting >>> tinyxml [ make ]                                       
[rosmake-5] Finished <<< tinyxml ROS_NOBUILD in package tinyxml                 
[rosmake-6] Starting >>> smclib [ make ]                                        
[rosmake-6] Finished <<< smclib ROS_NOBUILD in package smclib                   
[ rosmake ] [ make ] [ rosbuild: 0.2 sec ] [ cpp_c... [ 7 Active 1/54 Complete ]
[ rosmake ] [ make ] [ rosbuild: 0.3 sec ] [ cpp_c... [ 7 Active 1/54 Complete ]
[rosmake-7] Starting >>> openni [ make ]                                        
[rosmake-0] Starting >>> roslang [ make ]                                       
[rosmake-1] Starting >>> roscpp_traits [ make ]                                 
[rosmake-3] Starting >>> std_msgs [ make ]                                      
[rosmake-0] Finished <<< roslang ROS_NOBUILD in package roslang
 No Makefile in package roslang
[rosmake-2] Starting >>> rostime [ make ]                                       
[rosmake-5] Starting >>> bond [ make ]                                          
[rosmake-6] Starting >>> rosclean [ make ]                                      
[rosmake-4] Starting >>> rosgraph [ make ]                                      
[rosmake-0] Starting >>> rosmaster [ make ]                                     
[rosmake-5] Finished <<< bond ROS_NOBUILD in package bond                       
[rosmake-5] Starting >>> rosunit [ make ]                                       
[rosmake-4] Finished <<< rosgraph ROS_NOBUILD in package rosgraph               
[rosmake-6] Finished <<< rosclean ROS_NOBUILD in package rosclean               
[rosmake-1] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits     
[rosmake-2] Finished <<< rostime ROS_NOBUILD in package rostime                 
[rosmake-3] Finished <<< std_msgs ROS_NOBUILD in package std_msgs               
[rosmake-0] Finished <<< rosmaster ROS_NOBUILD in package rosmaster             
[rosmake-5] Finished <<< rosunit ROS_NOBUILD in package rosunit                 
[rosmake-4] Starting >>> rospy [ make ]                                         
[rosmake-4] Finished <<< rospy ROS_NOBUILD in package rospy                     
[rosmake-7] Finished <<< openni [PASS] [ 0.02 seconds ]                         
[ rosmake ] [ make ] [ openni: 0.1 sec ] [ rostim... [ 4 Active 15/54 Complete ]
[rosmake-1] Starting >>> eigen [ make ]                                         
[rosmake-3] Starting >>> roscpp_serialization [ make ]                          
[rosmake-6] Starting >>> rosconsole [ make ]                                    
[rosmake-1] Finished <<< eigen ROS_NOBUILD in package eigen                     
[rosmake-6] Finished <<< rosconsole ROS_NOBUILD in package rosconsole           
[rosmake-3] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization
[rosmake-0] Starting >>> angles [ make ]                                        
[rosmake-2] Starting >>> ps_engine [ make ]                                     
[rosmake-0] Finished <<< angles ROS_NOBUILD in package angles                   
[rosmake-5] Starting >>> rosnode [ make ]                                       
[rosmake-3] Starting >>> roscpp [ make ]                                        
[rosmake-7] Starting >>> pluginlib [ make ]                                     
[rosmake-5] Finished <<< rosnode ROS_NOBUILD in package rosnode                 
[rosmake-3] Finished <<< roscpp ROS_NOBUILD in package roscpp                   
[rosmake-7] Finished <<< pluginlib ROS_NOBUILD in package pluginlib             
[rosmake-2] Finished <<< ps_engine [PASS] [ 0.02 seconds ]                      
[ rosmake ] [ make ] [ ps_engine: 0.0 sec ] [ ros... [ 4 Active 23/54 Complete ]
[rosmake-1] Starting >>> cminpack [ make ]                                      
[rosmake-1] Finished <<< cminpack ROS_NOBUILD in package cminpack               
[rosmake-6] Starting >>> flann [ make ]                                         
[rosmake-6] Finished <<< flann ROS_NOBUILD in package flann                     
[rosmake-4] Starting >>> opencv2 [ make ]                                       
[rosmake-4] Finished <<< opencv2 ROS_NOBUILD in package opencv2                 
[rosmake-3] Starting >>> bondcpp [ make ]                                       
[rosmake-5] Starting >>> rosout [ make ]                                        
[rosmake-3] Finished <<< bondcpp ROS_NOBUILD in package bondcpp                 
[rosmake-5] Finished <<< rosout ROS_NOBUILD in package rosout                   
[rosmake-3] Starting >>> nodelet [ make ]                                       
[rosmake-5] Starting >>> roslaunch [ make ]                                     
[rosmake-3] Finished <<< nodelet ROS_NOBUILD in package nodelet                 
[rosmake-5] Finished <<< roslaunch ROS_NOBUILD in package roslaunch
 No Makefile in package roslaunch
[rosmake-3] Starting >>> rostest [ make ]                                       
[rosmake-3] Finished <<< rostest ROS_NOBUILD in package rostest                 
[rosmake-3] Starting >>> topic_tools [ make ]                                   
[rosmake-2] Starting >>> message_filters [ make ]                               
[rosmake-1 ...
(more)
edit retag flag offensive close merge delete

Comments

What command did you use? "rosmake openni_kinect"? Also, note that as documented at http://www.ros.org/wiki/ni , the ni stack is deprecated in favor of the openni_kinect stack.
Eric Perko gravatar image Eric Perko  ( 2011-05-30 17:27:56 -0500 )edit
i used "$ rosmake openni_camera"
Juno gravatar image Juno  ( 2011-05-30 17:40:46 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2011-05-30 21:05:55 -0500

updated 2011-05-30 21:14:54 -0500

Looks like you are missing the libusb. Try installing the Ubuntu package libusb-1.0.0 and build again. What I don't get is why rosdep didn't complain, because openni_camera depends on libusb-1.0.0 (in its manifest.xml file).

Free bonus tip (how to debug this kind of error):

Find the line that caused the error:

/usr/bin/ld: cannot find -lusb

This means the linker (ld) cannot find a file called libusb*.so*. Go to http://packages.ubuntu.com/ and search for packages containing files whose name contains libusb.

edit flag offensive delete link more

Comments

thx dude I fixed it all :D Thx a lot!
Juno gravatar image Juno  ( 2011-05-31 01:38:31 -0500 )edit
Installing using "rosmake --rosdep-install openni_camera" should have fixed things.
Eric Perko gravatar image Eric Perko  ( 2011-05-31 06:05:28 -0500 )edit
Yes, that was what I was wondering about. Doesn't the line "rosdep check passed all system dependencies in packages" mean that all rosdep dependencies are satisfied, and so "rosmake --rosdep-install openni_camera" shouldn't install anything?
Martin Günther gravatar image Martin Günther  ( 2011-05-31 06:14:59 -0500 )edit
That's my thought too... though maybe openni_camera at the time wasn't quite right. Based on those directory paths, it looks like @Juno is installing the deprecated "ni" stack and not the actually support "openni_kinect" stack. It's possible NI stack's dependencies aren't quite right anymore.
Eric Perko gravatar image Eric Perko  ( 2011-05-31 06:17:52 -0500 )edit

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: 2011-05-30 16:55:01 -0500

Seen: 554 times

Last updated: May 30 '11