Skip to content

Static library creation: Wrong folder structure in firmware/build/include #530

@markushehn

Description

@markushehn

Issue template

  • Hardware description:
  • RTOS:
  • Installation type: Custom static micro-ROS library
  • Version or commit hash: humble

Steps to reproduce the issue

Follow the steps described in https://micro.ros.org/docs/tutorials/advanced/create_custom_static_library/

Expected behavior

After the building process the folder tree in firmware/build/include should look like:
|── rcl
.........|── allocator.h
.........|── arguments.h
.........|── client.h
.........|── context.h
.........|── domain_id.h

Actual behavior

The folder tree in firmware/build/include has the wrong structure with an additional sublevel in many subfolders, for example the rcl-path looks like:
|── rcl
|......└── rcl
|...............├── allocator.h
|...............├── arguments.h
|...............├── client.h
|...............├── context.h
|...............├── domain_id.h

The compilation process of a program which includes the generated static library fails, because a lot of files in the include path assumes the first mentioned folder structure.

Additional information

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