Skip to content

Geographiclib cannot be located on ROS Jazzy #10

@Timple

Description

@Timple

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I'm convinced that this is not my fault but a bug.

Description

Geographiclib cannot be located

Expected behavior

Compilation succeeds

Actual behavior

63.08 Starting >>> lanelet2_projection
64.45 --- stderr: lanelet2_projection
64.45 CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
64.45   Could NOT find GeographicLib (missing: GeographicLib_LIBRARIES)
64.45 Call Stack (most recent call first):
64.45   /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
64.45   /opt/ros/jazzy/share/mrt_cmake_modules/cmake/Modules/FindGeographicLib.cmake:16 (find_package_handle_standard_args)
64.45   /ws/install/lanelet2_core/share/lanelet2_core/cmake/lanelet2_coreAutoDepsConfig.cmake:198 (find_package)
64.45   /opt/ros/jazzy/share/mrt_cmake_modules/cmake/Modules/FindAutoDeps.cmake:253 (_find_dep)
64.45   CMakeLists.txt:21 (find_package)

Steps to reproduce

Dockerfile:

FROM ros:jazzy
SHELL [ "/bin/bash", "-c" ]
RUN apt-get update -qq && apt-get install -qqy python3-colcon-core
RUN mkdir -p /ws/src
WORKDIR /ws
RUN git clone https://github.com/autowarefoundation/autoware_msgs /ws/src/autoware_msgs
RUN git clone https://github.com/fzi-forschungszentrum-informatik/lanelet2 /ws/src/lanelet2
RUN git clone https://github.com/autowarefoundation/autoware_lanelet2_extension /ws/src/autoware_lanelet2_extension
RUN rosdep update && rosdep install --from-paths src --ignore-src -y
RUN source /opt/ros/jazzy/setup.bash && colcon build --packages-up-to autoware_lanelet2_extension

Versions

Latest

Possible causes

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions