Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issue on Ubuntu 20.04 #276

Open
roncapat opened this issue Jun 9, 2023 · 0 comments
Open

Build issue on Ubuntu 20.04 #276

roncapat opened this issue Jun 9, 2023 · 0 comments

Comments

@roncapat
Copy link

roncapat commented Jun 9, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant