pluginlib icon indicating copy to clipboard operation
pluginlib copied to clipboard

getCatkinLibraryPaths() is hardcoded to $CATKIN_PREFIX_PATH/lib

Open vmatare opened this issue 6 years ago • 0 comments

https://github.com/ros/pluginlib/blob/54c925eebf8fd8db0c5e7e9ea18cba1d32402909/pluginlib/include/pluginlib/class_loader_imp.hpp#L313

That's not a portable way of determining the catkin library path. You cannot rely on lib being a correct default on all systems. At least on 64-bit systems, lib64 should be tried first. You could simply check whether the compiler is building in 64 or 32 bit mode.

vmatare avatar Oct 27 '19 16:10 vmatare