diff --git a/cartographer-ros-fix-link.patch b/cartographer-ros-fix-link.patch new file mode 100644 index 0000000000000000000000000000000000000000..0bd2fe3402a5bbab90b5f6deff7941495fdbe499 --- /dev/null +++ b/cartographer-ros-fix-link.patch @@ -0,0 +1,11 @@ +--- ros-humble-cartographer-ros-2.0.9000/CMakeLists.txt.orig 2024-07-22 00:49:24.631000000 +0000 ++++ ros-humble-cartographer-ros-2.0.9000/CMakeLists.txt 2024-07-22 00:51:08.336000000 +0000 +@@ -105,7 +105,7 @@ + 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) \ No newline at end of file diff --git a/cartographer-rviz.spec b/cartographer-rviz.spec index e48a8146d1667083304edc39f1edb7e21a8fa0a4..fac1cdd81dd5ac72f3d3214aaf7881c7747c75b7 100644 --- a/cartographer-rviz.spec +++ b/cartographer-rviz.spec @@ -18,7 +18,6 @@ Source0: %{name}_%{version}.orig.tar.gz Patch0: cartographer-rviz-fix-absl.patch Requires: ros-%{ros_distro}-cartographer -Requires: ros-%{ros_distro}-cartographer-ros Requires: ros-%{ros_distro}-cartographer-ros-msgs Requires: eigen3-devel Requires: abseil-cpp-devel