How to solve PCL's so file not found? [closed]

asked 2012-12-04 15:55:11 -0600

sam gravatar image

updated 2012-12-04 16:00:24 -0600

I use ROS fuerte. It lacks of the following files: libpcl_ros_features.so libpcl_ros_segmentation.so libpcl_ros_surface.so

When I run

  optirun roslaunch cram_pick_and_place manipulation.launch

It shows: (I only list error msg)

  [ERROR] [1354678195.559749322, 2602.353000000]: Failed to load nodelet [/normal_estimation] of type [pcl/NormalEstimation]: Failed to load library /opt/ros/fuerte/stacks/perception_pcl/pcl_ros/lib/libpcl_ros_features.so. Make sure that you are calling the PLUGINLIB_REGISTER_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Cannot load library: /opt/ros/fuerte/stacks/perception_pcl/pcl_ros/lib/libpcl_ros_features.so: cannot open shared object file: No such file or directory
  [FATAL] [1354678195.561621515]: Service call failed!

  [ERROR] [1354678195.808694022, 2602.391000000]: Failed to load nodelet [/planar_segmentation] of type [pcl/SACSegmentationFromNormals]: Failed to load library /opt/ros/fuerte/stacks/perception_pcl/pcl_ros/lib/libpcl_ros_segmentation.so. Make sure that you are calling the PLUGINLIB_REGISTER_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Cannot load library: /opt/ros/fuerte/stacks/perception_pcl/pcl_ros/lib/libpcl_ros_segmentation.so: cannot open shared object file: No such file or directory
  [FATAL] [1354678195.809294466]: Service call failed!
  [normal_estimation-13] process has died [pid 18995, exit code 255, cmd /opt/ros/fuerte/stacks/nodelet_core/nodelet/bin/nodelet load pcl/NormalEstimation pcl_manager ~input:=/voxel_grid/output __name:=normal_estimation __log:=/home/sam/.ros/log/a1cac4ba-3e83-11e2-8a57-e0b9a5f829db/normal_estimation-13.log].
  log file: /home/sam/.ros/log/a1cac4ba-3e83-11e2-8a57-e0b9a5f829db/normal_estimation-13*.log
  [ WARN] [1354678196.055430558, 2602.415000000]: No collision geometry specified for link 'r_forearm_cam_frame'
  [planar_segmentation-14] process has died [pid 19015, exit code 255, cmd /opt/ros/fuerte/stacks/nodelet_core/nodelet/bin/nodelet load pcl/SACSegmentationFromNormals pcl_manager ~input:=/voxel_grid/output ~normals:=/normal_estimation/output __name:=planar_segmentation __log:=/home/sam/.ros/log/a1cac4ba-3e83-11e2-8a57-e0b9a5f829db/planar_segmentation-14.log].
  log file: /home/sam/.ros/log/a1cac4ba-3e83-11e2-8a57-e0b9a5f829db/planar_segmentation-14*.log      
  [ERROR] [1354678196.957164444, 2602.558000000]: Failed to load nodelet [/convex_hull] of type [pcl/ConvexHull2D]: Failed to load library /opt/ros/fuerte/stacks/perception_pcl/pcl_ros/lib/libpcl_ros_surface.so. Make sure that you are calling the PLUGINLIB_REGISTER_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Cannot load library: /opt/ros/fuerte/stacks/perception_pcl/pcl_ros/lib/libpcl_ros_surface.so: cannot open shared object file: No such file or directory
  [FATAL] [1354678196.960832088]: Service call failed!
  [ WARN] [1354678197.034424460, 2602.568000000]: No collision geometry specified for link 'base_laser_link'
  [convex_hull-17] process has died [pid 19113, exit code 255, cmd /opt/ros/fuerte/stacks/nodelet_core/nodelet/bin/nodelet load pcl/ConvexHull2D pcl_manager ~input:=/project_plane_inliers/output __name:=convex_hull __log:=/home/sam/.ros/log/a1cac4ba-3e83-11e2-8a57-e0b9a5f829db/convex_hull-17.log].
  log file: /home/sam/.ros/log/a1cac4ba-3e83-11e2-8a57-e0b9a5f829db/convex_hull-17*.log

I found other ROS answer thread says they file a ticket, so what can I do?

How to fix it?

Thank you~

Here is ~/code/ros/cram/cram_pick_and_place/launch/manipulation.launch

  <launch>
    <group>
      <include file="$(find cotesys_ros_grasping)/launch/pr2_grasping.launch"/>

      <node pkg="table_objects" type="detect_objects_srv" name="detect_objects_srv">
        <remap from="~input" to="/extract_objects_indices/output"/>
      </node>
    </group>
  </launch>

Here is pr2_grasping.launch

  <launch>

    <!-- load perception -->
    <include file="$(find pr2_arm_navigation_perception ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-08-31 20:38:18.327553