ros-industrial-attic / reuleaux

GSoC Project for robot reachability
74 stars 55 forks source link

Could not load base placement plugin #69

Open Kaushik093 opened 2 years ago

Kaushik093 commented 2 years ago

When I try to load the base placement plugin I get the following error.

The class required for this panel, 'base_placement_plugin/Base Placement Plug-in', could not be loaded.

Failed to load library /home/kaushik/catkin_ws/devel/lib//libbase_placement_plugin.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /home/kaushik/catkin_ws/devel/lib//libbase_placement_plugin.so: undefined symbol: _ZTV12AddRobotBase)

I am running ros noetic on ubuntu 20.04 and I cloned the repo from https://github.com/Erixar/reuleaux.git

Please help me fix this error

MShields1986 commented 1 year ago

I also ran into this, ought to be fixed in my forks' noetic-devel branch, however this branch is 32 commits behind this repo's master, so might be missing some functionality at the moment. Though I am working on bringing it up to date

MShields1986 commented 1 year ago

There is a similar error that also shows with the undefined symbol being the poseMsgToEigen conversion.

This can be fixed by adding the "eigen_conversions" for the base_placement_plugin CMakeLists.txt as part of the find_package()

find_package(catkin REQUIRED COMPONENTS
  interactive_markers
  pluginlib
  roscpp
  rqt_gui
  rqt_gui_cpp
  rviz
  visualization_msgs
  tf
  tf_conversions
  map_creator
  pcl_ros
  geometry_msgs
  moveit_ros_planning_interface
  moveit_core
  eigen_conversions
)
liyuping0906 commented 4 months ago

@MShields1986 Hello, I'm a newbie. Sorry to bother you. Did you succeed in compiling ruleaux with noetic? Can you tell me how to compile successfully? Thank you so much

MShields1986 commented 4 months ago

@liyuping0906 Feel free to try my noetic-devel fork here, it's been around a year since I touched it though.

liyuping0906 commented 3 months ago

@MShields1986 thanks a lot