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

Error Rosmake usb_camera

asked 2014-02-11 06:39:12 -0600

4LV4R0 gravatar image

updated 2014-02-11 06:39:44 -0600

Good evening

We are trying to "rosmake" the package usb_camera but rosmake fail. Here is the output :

mkdir -p bin

cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=/opt/ros/groovy/share/ros/core/rosbuild/rostoolchain.cma$

-- 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: the rosdep view is empty: call 'sudo rosdep init' and '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

I´ve tried to do sudo rosdep init and the rosdep update but the update also failed :

pi@raspberrypi ~ $ rosdep update reading in sources list data from /etc/ros/rosdep/sources.list.d Hit https://github.com/ros/rosdistro/raw/... Hit https://github.com/ros/rosdistro/raw/... Hit https://github.com/ros/rosdistro/raw/... Hit https://github.com/ros/rosdistro/raw/... Hit https://github.com/ros/rosdistro/raw/... Hit https://github.com/ros/rosdistro/raw/... Query rosdistro index https://raw.github.com/ros/rosdistro/...

ERROR: Rosdep experienced an error: Unable to handle 'index' format version '2', please update rosdistro Please go to the rosdep page [1] and file a bug report with the stack trace below. [1] : http://www.ros.org/wiki/rosdep

rosdep version: 0.10.20

Traceback (most recent call last):

File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 118, in rosdep_main exit_code = _rosdep_main(args)

File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 261, in _rosdep_main return _no_args_handler(command, parser, options, args)

File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 269, in _no_args_handler return command_handlerscommand

File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 426, in command_update error_handler=update_error_handler)

File "/usr/lib/pymodules/python2.7/rosdep2/sources_list.py", line 422, in update_sources_list for d, dist in get_index().distributions.iteritems():

File "/usr/lib/pymodules/python2.7/rosdep2/rosdistrohelper.py", line 58, in get_index _RDCache.index = rosdistro.get_index(_RDCache.index_url)

File "/usr/lib/pymodules/python2.7/rosdistro/__init__.py", line 106, in get_index return Index(data, base_url)

File "/usr/lib/pymodules/python2.7/rosdistro/index.py", line 51, in __init__ assert int(data['version']) == 1, "Unable to handle '%s' format version '%d', please update rosdistro" % (Index._type, int(data ... (more)

edit retag flag offensive close merge delete

Comments

4LV4R0 gravatar image 4LV4R0  ( 2014-02-11 06:51:05 -0600 )edit
1

What are your ROS and OS versions?

ahendrix gravatar image ahendrix  ( 2014-02-11 07:19:32 -0600 )edit

Ros groovy and Raspbian wheezy

4LV4R0 gravatar image 4LV4R0  ( 2014-02-11 08:48:02 -0600 )edit
2

It sounds like the version of python-rosdep that's available in the repository that you're using isn't up to date. I would try to get in contact with the repository maintainer.

ahendrix gravatar image ahendrix  ( 2014-02-11 09:38:23 -0600 )edit

Thanks for your help. I´ll try to get in contact witg him.

4LV4R0 gravatar image 4LV4R0  ( 2014-02-11 23:15:09 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2014-02-18 06:50:08 -0600

4LV4R0 gravatar image

I started a thread into https://groups.google.com/forum/#!top... and repositorys of raspbian groovy have been updated. I have upgrade by apt-get upgrade and everything was finally fine!

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-02-11 06:39:12 -0600

Seen: 440 times

Last updated: Feb 11 '14