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

ros_lib install error--failed to generate libraries for tf package

asked 2016-03-22 06:44:06 -0500

Fighting_bird gravatar image

when I create the ros_lib in the sketchbook/libraries, one of the libraries was not installed.And the info of error is as unnecessary was omited, such as the messages that other libraries was created successfully.


Exporting to .

    [tf]: Unable to find dependency: angles
ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/home/ubuntu/catkin_ws/install/share
ROS path [2]=/home/ubuntu/catkin_ws/install/stacks
ROS path [3]=/opt/ros/indigo/share
ROS path [4]=/opt/ros/indigo/stacks. Messages cannot be built.
*** Warning, failed to generate libraries for the following packages: ***
        tf (missing dependency: angles)
Traceback (most recent call last):
File "/home/ubuntu/catkin_ws/install/share/rosserial_arduino/", line 91, in <module>
    rosserial_generate(rospack, path+"/ros_lib", ROS_TO_EMBEDDED_TYPES)
File "/home/ubuntu/catkin_ws/install/lib/python2.7/dist-packages/rosserial_client/", line 584, in rosserial_generate
    raise Exception("Failed to generate libraries for: " + str(failed))
Exception: Failed to generate libraries for: ['tf (missing dependency: angles)']


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-05-28 05:46:40 -0500

Fighting_bird gravatar image

updated 2016-05-28 05:49:51 -0500

I have solved this problem, it lost a package 'tf', which was not installed before successfully. So I used this command to install it.

rosdep install tf
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-03-22 06:44:06 -0500

Seen: 427 times

Last updated: May 28 '16