From c32da2daeaae5ddaa84cf5cbecabd863f9865980 Mon Sep 17 00:00:00 2001 From: awesome_cheems Date: Thu, 11 Jul 2024 15:26:24 +0000 Subject: [PATCH] add patch for link error. --- cartographer-ros-fix-link.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 cartographer-ros-fix-link.patch diff --git a/cartographer-ros-fix-link.patch b/cartographer-ros-fix-link.patch new file mode 100644 index 0000000..96e9951 --- /dev/null +++ b/cartographer-ros-fix-link.patch @@ -0,0 +1,13 @@ +diff --git a/ros-humble-cartographer-ros-2.0.9000/CMakeLists.txt b/ros-humble-cartographer-ros-2.0.9000/CMakeLists.txt +index f3ddfc9..179bde9 100644 +--- a/ros-humble-cartographer-ros-2.0.9000/CMakeLists.txt ++++ b/ros-humble-cartographer-ros-2.0.9000/CMakeLists.txt +@@ -105,7 +105,7 @@ set(dependencies + ament_target_dependencies(${PROJECT_NAME} + ${dependencies} + ) +-target_link_libraries(${PROJECT_NAME} cartographer ${PCL_LIBRARIES}) ++target_link_libraries(${PROJECT_NAME} cartographer ${PCL_LIBRARIES} absl_log_internal_check_op absl_log_internal_message) + + # Executables + add_executable(cartographer_node src/node_main.cpp) -- Gitee