Skip to content

colcon build failed! #3

Description

@YoushaaMurhij

I can not build this package. Any suggestions?

colcon build
Starting >>> baggie  
Starting >>> objects_msgs
--- stderr: baggie                                                                      
CMake Error at /usr/lib/cmake/pybind11/pybind11NewTools.cmake:207 (python3_add_library):
  Unknown CMake command "python3_add_library".
Call Stack (most recent call first):
  CMakeLists.txt:27 (pybind11_add_module)
---
Failed   <<< baggie [0.66s, exited with code 1]

Activity

  1. smk-robotics commented on Dec 13, 2023

    @smk-robotics

    Same problem for me.
    Screenshot from 2023-12-13 23-16-23

  2. koenkramer commented on Oct 9, 2024

    @koenkramer

    Same here. But it seems that this package is unfortunately heavily outdated. After fixing this particular error, several other will come up, if you are trying to build this for any of the newer ROS2 distributions, since this package appears to have been written for ROS Foxy.

    But for those interested, the error mentioned above can be fixed by adding find_package(Python3 COMPONENTS Interpreter Development) to the CMakeLists.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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