Skip to content

Build issue on Ubuntu 20.04 #276

@roncapat

Description

@roncapat

Cmake 3.26
Ubuntu 20.04
ROS Version: humble (from source)
Package branch: rolling

For some reason:

find_package(Python3 REQUIRED COMPONENTS Development)

fails with error:

  Could NOT find Python3 (missing: Development Development.Module
  Development.Embed) (found version "3.9")

The solution I found was inspired by https://gitlab.kitware.com/cmake/cmake/-/issues/18192 and what is needed is to add "Interpreter" to the required components on that line.

Not sure if this can be translated in a PR since the package seems building correctly for many users, but at least I leave this one here to help other users.

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