From be4887d66a8b3adc8dd6cebfa92f8b247a9d0694 Mon Sep 17 00:00:00 2001 From: FletcherFT Date: Wed, 2 Oct 2019 17:28:38 +0200 Subject: [PATCH] Added DepthCameraPlugin target_link_library so that Underwater Camera Plugin does not throw a 'undefined symbol: _ZTIN6gazebo17DepthCameraPluginE' exception. Signed-off-by: Fletcher F Thompson --- uuv_sensor_plugins/uuv_sensor_ros_plugins/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uuv_sensor_plugins/uuv_sensor_ros_plugins/CMakeLists.txt b/uuv_sensor_plugins/uuv_sensor_ros_plugins/CMakeLists.txt index c12d8ffe0..006bb38d5 100644 --- a/uuv_sensor_plugins/uuv_sensor_ros_plugins/CMakeLists.txt +++ b/uuv_sensor_plugins/uuv_sensor_ros_plugins/CMakeLists.txt @@ -210,7 +210,7 @@ list(APPEND UUV_SENSOR_ROS_PLUGINS_LIST uuv_gazebo_ros_rpt_plugin) ############################################################################### add_library(uuv_gazebo_ros_camera_plugin src/UnderwaterCameraROSPlugin.cc) -target_link_libraries(uuv_gazebo_ros_camera_plugin ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES}) +target_link_libraries(uuv_gazebo_ros_camera_plugin ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES} DepthCameraPlugin) add_dependencies(uuv_gazebo_ros_camera_plugin ${catkin_EXPORTED_TARGETS}) list(APPEND UUV_SENSOR_ROS_PLUGINS_LIST uuv_gazebo_ros_camera_plugin)