- Standalone build: when the pnkx_nav_core root CMakeLists has built the robot_sbpl target, link it directly, so the header and the library come from one source tree. The standalone branch did not link SBPL at all before. - Catkin build: use the installed robot_sbpl package (robot_sbpl_DIR). An old install named sbpl still builds, with a warning that ros-noetic-sbpl can shadow it at runtime. - boost::dll loads plugins RTLD_LOCAL, so libsbpl is not in the global scope and dlsym(RTLD_DEFAULT) never found sbpl_abort_flag_abi_version, even with the right library loaded. Fall back to RTLD_NEXT, which searches this plugin's own dependencies.
8.7 KiB
8.7 KiB