fzi-forschungszentrum-informatik / Lanelet2

Map handling framework for automated driving
BSD 3-Clause "New" or "Revised" License
799 stars 326 forks source link

lanelet2-projection failing on ROS2 Rolling #343

Closed james-ward closed 3 months ago

james-ward commented 5 months ago

With rolling moving to Ubuntu 24.04 there is a failure to find libgeographic

45.64 Starting >>> lanelet2_projection                                                                                                                                                      45.70 -- The C compiler identification is GNU 13.2.0                                                                                                                                        45.74 -- The CXX compiler identification is GNU 13.2.0                                                                                                                                      45.76 -- Detecting C compiler ABI info                                                                                                                                                      45.83 -- Detecting C compiler ABI info - done
45.84 -- Check for working C compiler: /usr/bin/cc - skipped
45.84 -- Detecting C compile features
45.84 -- Detecting C compile features - done
45.85 -- Detecting CXX compiler ABI info
45.94 -- Detecting CXX compiler ABI info - done
45.94 -- Check for working CXX compiler: /usr/bin/c++ - skipped
45.94 -- Detecting CXX compile features
45.94 -- Detecting CXX compile features - done
45.94 -- Found mrt_cmake_modules: 1.0.9 (/opt/ros/rolling/share/mrt_cmake_modules/cmake)
45.95 -- Found ament_cmake_core: 2.6.0 (/opt/ros/rolling/share/ament_cmake_core/cmake)
46.05 -- Found Python3: /usr/bin/python3 (found version "3.12.3") found components: Interpreter
46.12 -- Override CMake install command with custom implementation using symlinks instead of copying resources
46.38 -- Found OpenMP_C: -fopenmp (found version "4.5")
46.46 -- Found OpenMP_CXX: -fopenmp (found version "4.5")
46.46 -- Found OpenMP: TRUE (found version "4.5")
46.56 called: /opt/ros/rolling/share/mrt_cmake_modules/cmake/../scripts/generate_cmake_dependency_file.py /opt/acfr/underlay_ws/src/lanelet2/lanelet2_projection/package.xml /opt/ros/rolling/share/mrt_cmake_modules/cmake/../yaml/cmake.yaml /opt/acfr/underlay_ws/build/lanelet2_projection/CMakeFiles/auto_dep_vars.cmake
46.78 -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.83.0/BoostConfig.cmake (found version "1.83.0") found components: wserialization thread random serialization log_setup prg_exec_monitor wave system chrono filesystem locale timer date_time regex graph program_options unit_test_framework log atomic iostreams
46.79 -- Found pugixml: /usr/lib/x86_64-linux-gnu/libpugixml.so                                                                                                                             46.79 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
46.80 CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
46.80   Could NOT find GeographicLib (missing: GeographicLib_LIBRARIES)
46.80 Call Stack (most recent call first):
46.80   /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
46.80   /opt/ros/rolling/share/mrt_cmake_modules/cmake/Modules/FindGeographicLib.cmake:16 (find_package_handle_standard_args)
46.80   /opt/acfr/underlay_ws/install/lanelet2_core/share/lanelet2_core/cmake/lanelet2_coreAutoDepsConfig.cmake:198 (find_package)
46.80   /opt/ros/rolling/share/mrt_cmake_modules/cmake/Modules/FindAutoDeps.cmake:253 (_find_dep)
46.80   CMakeLists.txt:21 (find_package)
46.80
46.80
46.80 -- Configuring incomplete, errors occurred!
46.82 --- stderr: lanelet2_projection
46.82 CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
46.82   Could NOT find GeographicLib (missing: GeographicLib_LIBRARIES)
46.82 Call Stack (most recent call first):
46.82   /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
46.82   /opt/ros/rolling/share/mrt_cmake_modules/cmake/Modules/FindGeographicLib.cmake:16 (find_package_handle_standard_args)
46.82   /opt/acfr/underlay_ws/install/lanelet2_core/share/lanelet2_core/cmake/lanelet2_coreAutoDepsConfig.cmake:198 (find_package)
46.82   /opt/ros/rolling/share/mrt_cmake_modules/cmake/Modules/FindAutoDeps.cmake:253 (_find_dep)
46.82   CMakeLists.txt:21 (find_package)

This blocks some dependent lanelet2 packages, and has meant the binary packages are not being published for the rolling distro.

james-ward commented 5 months ago

https://github.com/KIT-MRT/mrt_cmake_modules/pull/34 refers

FranklynJey commented 5 months ago

@james-ward Thank you for your issue! We hope to update mrt_cmake_modules shortly and give an update here ;)

poggenhans commented 3 months ago

mrt_cmake_modules was fixed, so closing.