[Solved]Problem with rosmake and rosrun usb_cam usb_cam_node
Good afternoon partners
Following the tutorial for installing usb_cam on groovy
http://wiki.ros.org/ROSberryPi/Setting%20up%20ROS%20on%20RaspberryPi#ROS_Peripherals
I can roscd usb_cam and I have all the dependencies installed but when I do the rosmake I'm given the next :
Configuring incomplete, errors occurred! -------------------------------------------------------------------------------}
[ rosmake ] Output from build of package usb_cam written to:
[ rosmake ] /home/pi/.ros/rosmake/rosmake_output-20140116-192405/usb_cam/build_output.log
[rosmake-0] Finished <<< usb_cam [FAIL] [ 16.84 seconds ]
[ rosmake ] Halting due to failure in package usb_cam.
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:
[ rosmake ] Built 36 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/pi/.ros/rosmake/rosmake_output-20140116-192405
And if I try rosrun usb_cam usb_cam_node I'm given :
[rosrun] Couldn't find executable named usb_cam_node below /home/pi/catkin_ws/src/bosch_drivers/usb_cam
[rosrun] Found the following, but they're either not files
[rosrun] or not executable:
[rosrun] /home/pi/catkin_ws/src/bosch_drivers/usb_cam/src/usb_cam_node
Could anyone help me please? Thanks
EDIT
This is the output_build log:
mkdir -p bin
cd build && cmake -Wdev -
DCMAKE_TOOLCHAIN_FILE=/opt/ros/groovy/share/ros/core/rosbuild/rostoolchain.cmake ..
-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.6.3
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
[rosbuild] Building package usb_cam
Failed to invoke /opt/ros/groovy/bin/rospack deps-manifests usb_cam [rospack] Error: package/stack 'usb_cam' depends on non-existent package 'self_test' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update'
CMake Error at /opt/ros/groovy/share/ros/core/rosbuild/public.cmake:129 (message):
Failed to invoke rospack to get compile flags for package 'usb_cam'. Look above for errors from rospack itself. Aborting. Please fix the broken dependency!
Call Stack (most recent call first): /opt/ros/groovy/share/ros/core/rosbuild/public.cmake:203 (rosbuild_invoke_rospack) CMakeLists.txt:5 (rosbuild_init)
-- Configuring incomplete, errors occurred! make: * [all] Error 1
Thanks a lot
It sounds like the usb_cam package is failing to build. Can you post the rest of the rosmake output?