micro-ROS / micro-ROS/micro_ros_setup

Problems with include path of libraries in microros

未关闭
#664 4 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Shell
星标
509
派生
183
平均合并
22 小时 26 分钟
30 天内合并 PR
7

描述

Issue template

  • Hardware description: STM
  • RTOS: freeRTOS
  • Installation type: microros_setup
  • Version or commit hash: iron
Steps to reproduce the issue

I have compiled Microros as a static lib and added it using the compile flags. I have also added the folder libmicroros/include as an include path. However, the code does not find any of the headers because the folders are organized in the following way:
library_name/library_name/header_file.h. That's because the includes are /library_name/headear_file.h. In other words, I am forced to add each folder path as an include path. Is there a way to make it simpler? In the previous version of Microros, the folder organization was /library_name/headear_file.h, and the new version's code still follows that standard.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先检查创建 libmicroros/include 的 microros_setup 输出,以及静态库使用的编译标志。完成标准是:生成的头文件可以使用一个包含路径进行包含,无需单独添加每个库目录,同时与代码使用的包含布局一致。

由索引模型根据 Issue 内容生成。

评估

领域
build-system, embedded-iot
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。