DLu / navigation_layers

156 stars 136 forks source link

Could not load library range_sensor_layer.so #71

Closed lslabon closed 3 years ago

lslabon commented 3 years ago

When trying to launch move_base with the range_sensor plugin I keep getting the error message:

terminate called after throwing an instance of 'pluginlib::LibraryLoadException'
  what():  Failed to load library /home/lslabon/shotbot/catkin_ws/devel/lib//librange_sensor_layer.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/lslabon/shotbot/catkin_ws/devel/lib//librange_sensor_layer.so: undefined symbol: _ZN10costmap_2d12CostmapLayer9clearAreaEiiii)

I got another error when trying to launch move_base with range_sensor plugin and in other threads it said installing navigation from source will solve the issue.. But after trying this I get the above error. I already tried deleting and reinstalling navigation_layers but I keep getting this error.

I hope somebody can help me.. I found a thread where someone had exactly the same issue but it was posted under a wrong repository, therefore it was closed...

lslabon commented 3 years ago

Nevermind... I had to build navigation AND navigation_layers from source