Robotics StackExchange | Archived questions

Warning, failed to generate libraries for the following packages: geometry_msgs sensor_msgs shape_msgs

After reformatting my HD several times (due to my own dummy-ness), I'm trying to get back to the rosserial IR ranger tutorial. (I completed it once before.) But now with a fresh ROS install, when reinstalling ROSSERIAL, I get this error message.

Warning, failed to generate libraries for the following packages:
    geometry_msgs
    sensor_msgs
    shape_msgs>

I've gone over the rosserial Arduino IDE installation steps several times and still get this same error message.

This morning I reformatted and reinstalled ROS/Rosserial. Once again I got the same error messages.

Here is the complete text. I don't see any problems so I'm stumped

Exporting to .
Exporting rosserial_msgs

  Messages:
    TopicInfo,Log,

  Services:
    RequestServiceInfo,RequestMessageInfo,RequestParam,

Exporting std_srvs

  Services:
    Empty,

Exporting std_msgs

  Messages:
    Int8,Char,UInt16MultiArray,UInt8MultiArray,String,Header,Time,Int16MultiArray,Duration,ColorRGBA,Int32,Int8MultiArray,Float32MultiArray,ByteMultiArray,Int32MultiArray,MultiArrayDimension,Int64,UInt32MultiArray,Int64MultiArray,Float32,UInt32,Int16,UInt8,Bool,Empty,Byte,UInt64MultiArray,Float64,Float64MultiArray,UInt64,UInt16,MultiArrayLayout,

Exporting geometry_msgs

  Messages:
    Polygon,PointStamped,PoseWithCovariance,Pose,TwistWithCovariance,TransformStamped,Point,Point32,Transform,Twist,TwistWithCovarianceStamped,Vector3Stamped,Pose2D,WrenchStamped,PoseStamped,PoseWithCovarianceStamped,Wrench,TwistStamped,QuaternionStamped,PoseArray,PolygonStamped,Vector3,Quaternion,

Exporting sensor_msgs

  Messages:
    CompressedImage,RelativeHumidity,MultiDOFJointState,MagneticField,Temperature,PointCloud2,MultiEchoLaserScan,LaserEcho,ChannelFloat32,JointState,TimeReference,Range,FluidPressure,JoyFeedback,NavSatFix,Image,Illuminance,JoyFeedbackArray,CameraInfo,PointCloud,RegionOfInterest,PointField,NavSatStatus,Joy,Imu,LaserScan,

  Services:
    SetCameraInfo,

Exporting pcl_msgs

  Messages:
    PolygonMesh,ModelCoefficients,Vertices,PointIndices,

Exporting stereo_msgs

  Messages:
    DisparityImage,

Exporting visualization_msgs

  Messages:
    MenuEntry,InteractiveMarkerUpdate,MarkerArray,InteractiveMarkerControl,Marker,InteractiveMarkerPose,ImageMarker,InteractiveMarker,InteractiveMarkerFeedback,InteractiveMarkerInit,

Exporting actionlib_msgs

  Messages:
    GoalID,GoalStatus,GoalStatusArray,

Exporting nav_msgs

  Messages:
    GetMapActionFeedback,Odometry,GetMapActionResult,GetMapActionGoal,MapMetaData,GetMapFeedback,GetMapResult,GridCells,Path,GetMapAction,OccupancyGrid,GetMapGoal,

  Services:
    GetPlan,GetMap,

Exporting map_msgs

  Messages:
    PointCloud2Update,ProjectedMap,ProjectedMapInfo,OccupancyGridUpdate,

  Services:
    ProjectedMapsInfo,GetPointMapROI,SetMapProjections,GetPointMap,SaveMap,GetMapROI,

Exporting tf2_msgs

  Messages:
    LookupTransformActionFeedback,TF2Error,LookupTransformFeedback,LookupTransformGoal,LookupTransformAction,TFMessage,LookupTransformActionResult,LookupTransformActionGoal,LookupTransformResult,

  Services:
    FrameGraph,

Exporting bond

  Messages:
    Status,Constants,

Exporting rosgraph_msgs

  Messages:
    Clock,Log,TopicStatistics,

Exporting diagnostic_msgs

  Messages:
    DiagnosticStatus,KeyValue,DiagnosticArray,

  Services:
    SelfTest,

Exporting trajectory_msgs

  Messages:
    MultiDOFJointTrajectory,JointTrajectory,JointTrajectoryPoint,MultiDOFJointTrajectoryPoint,

Exporting control_msgs

  Messages:
    SingleJointPositionActionResult,SingleJointPositionFeedback,GripperCommandAction,GripperCommand,JointTrajectoryFeedback,GripperCommandFeedback,FollowJointTrajectoryActionGoal,PointHeadAction,JointTrajectoryAction,GripperCommandResult,JointTrajectoryControllerState,GripperCommandActionResult,SingleJointPositionResult,JointTolerance,JointControllerState,GripperCommandGoal,PointHeadFeedback,JointTrajectoryActionGoal,JointTrajectoryActionResult,PointHeadGoal,GripperCommandActionFeedback,FollowJointTrajectoryGoal,SingleJointPositionActionFeedback,PointHeadActionGoal,FollowJointTrajectoryResult,JointTrajectoryActionFeedback,FollowJointTrajectoryFeedback,JointTrajectoryResult,FollowJointTrajectoryActionResult,PointHeadActionResult,GripperCommandActionGoal,JointTrajectoryGoal,FollowJointTrajectoryAction,SingleJointPositionAction,PointHeadResult,FollowJointTrajectoryActionFeedback,SingleJointPositionGoal,PointHeadActionFeedback,SingleJointPositionActionGoal,

  Services:
    QueryTrajectoryState,QueryCalibrationState,

Exporting gazebo_msgs

  Messages:
    ModelStates,ContactsState,LinkState,WorldState,ODEJointProperties,ODEPhysics,LinkStates,ContactState,ModelState,

  Services:
    GetModelProperties,JointRequest,SetLinkState,GetWorldProperties,SetLinkProperties,SetModelState,ApplyBodyWrench,SpawnModel,SetModelConfiguration,ApplyJointEffort,GetLinkState,GetLinkProperties,SetJointTrajectory,GetPhysicsProperties,SetJointProperties,DeleteModel,SetPhysicsProperties,GetJointProperties,BodyRequest,GetModelState,

Exporting shape_msgs

  Messages:
    Plane,MeshTriangle,Mesh,SolidPrimitive,

Exporting smach_msgs

  Messages:
    SmachContainerInitialStatusCmd,SmachContainerStructure,SmachContainerStatus,

Exporting roscpp

  Messages:
    Logger,

  Services:
    Empty,GetLoggers,SetLoggerLevel,

Exporting roscpp_tutorials

  Services:
    TwoInts,

Exporting turtlesim

  Messages:
    Pose,Color,

  Services:
    SetPen,Kill,TeleportRelative,TeleportAbsolute,Spawn,

Exporting rospy_tutorials

  Messages:
    Floats,HeaderString,

  Services:
    AddTwoInts,BadTwoInts,

Exporting topic_tools

  Services:
    DemuxList,MuxSelect,DemuxAdd,MuxList,DemuxSelect,MuxDelete,DemuxDelete,MuxAdd,

Exporting dynamic_reconfigure

  Messages:
    StrParameter,Group,Config,BoolParameter,GroupState,IntParameter,SensorLevels,ConfigDescription,DoubleParameter,ParamDescription,

  Services:
    Reconfigure,

Exporting driver_base

  Messages:
    ConfigValue,ConfigString,SensorLevels,

Exporting actionlib

  Messages:
    TestRequestResult,TestRequestActionResult,TestRequestFeedback,TwoIntsFeedback,TestRequestActionGoal,TwoIntsActionResult,TestResult,TestActionFeedback,TwoIntsActionFeedback,TwoIntsResult,TestFeedback,TestRequestAction,TestAction,TestRequestActionFeedback,TestRequestGoal,TestActionResult,TwoIntsAction,TwoIntsActionGoal,TwoIntsGoal,TestActionGoal,TestGoal,

Exporting turtle_actionlib

  Messages:
    ShapeAction,Velocity,ShapeActionResult,ShapeGoal,ShapeActionFeedback,ShapeResult,ShapeFeedback,ShapeActionGoal,

Exporting actionlib_tutorials

  Messages:
    AveragingActionResult,AveragingGoal,FibonacciFeedback,FibonacciActionGoal,AveragingAction,AveragingActionGoal,FibonacciGoal,FibonacciResult,AveragingActionFeedback,AveragingFeedback,FibonacciActionResult,FibonacciAction,AveragingResult,FibonacciActionFeedback,

Exporting nodelet

  Services:
    NodeletList,NodeletLoad,NodeletUnload,

Exporting polled_camera

  Services:
    GetPolledImage,

Exporting tf

  Messages:
    tfMessage,

  Services:
    FrameGraph,

Exporting theora_image_transport

  Messages:
    Packet,

Exporting rosserial_arduino

  Messages:
    Adc,

  Services:
    Test,

Exporting laser_assembler

  Services:
    AssembleScans2,AssembleScans,



*** Warning, failed to generate libraries for the following packages: ***
    geometry_msgs
    sensor_msgs
    shape_msgs

Ok Folks... I just found a similar problem at this link

I followed the suggestion by mikepurvis and ran source /opt/ros/indigo/setup.bash just before building the ros_lib directory. Much better results but still I get

Warning, failed to generate libraries for the following packages: ***
    map_msgs

So its better and now I can get through the IR ranger tutorial.

Any clues to my error(s) would be appreciated.

Thanks in advance

RoboBill

Asked by RoboBill on 2015-02-04 23:32:41 UTC

Comments

This is the summary. Can you scroll up to see it there is any message while trying to generate those packages?

Asked by Wolf on 2015-02-05 02:01:08 UTC

Hi Wolf,

Before I closed the terminal last night, I did look for anything weird... nothing. So this morning, I just said "heck with it" and reformatted again and started over. Its NBD. This is an old VISTA PC for just Ubuntu/ROS. If I get past this point, I'll edit/answer this question

RoboBill

Asked by RoboBill on 2015-02-05 10:02:22 UTC

I've reformatted and reinstalled ROS 3 times and still have this error. Silly question, can I manual install these three "file groups"?

Asked by RoboBill on 2015-02-05 20:16:07 UTC

What ROS package did you install when setting up? (ie ros-<distro>-desktio-full)

Asked by tonybaltovski on 2015-02-11 10:30:14 UTC

Hi Tony, I installed Indigo full on 14.04 per standard install instructs and then I tried the 2 line install script.

Asked by RoboBill on 2015-02-11 11:38:36 UTC

Answers