Problems with include path of libraries in microros
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
调研方向
首先检查创建 libmicroros/include 的 microros_setup 输出,以及静态库使用的编译标志。完成标准是:生成的头文件可以使用一个包含路径进行包含,无需单独添加每个库目录,同时与代码使用的包含布局一致。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Shell
- 星标
- 509
- 派生
- 183
- 平均合并
- 22 小时 26 分钟
- 30 天内合并 PR
- 7
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
micro-ROS/micro_ros_setup 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
micro-ROS/micro_ros_setup#814 ·
-
难度 4/5 3-5 天 新手友好度 42/100
micro-ROS/micro_ros_setup#809 ·
-
难度 4/5 3-5 天 新手友好度 38/100
micro-ROS/micro_ros_setup#808 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 20/100
micro-ROS/micro_ros_setup#806 ·
-
难度 4/5 3-5 天 新手友好度 20/100
micro-ROS/micro_ros_setup#803 ·
查看 micro-ROS/micro_ros_setup 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 90/100
danielmiessler/LifeOS#2218 ·
-
难度 1/5 1 小时以内 新手友好度 92/100
-
technical-debt
难度 2/5 1-3 小时 新手友好度 85/100
ll7/robot_sf_ll7#9560 ·
-
package-update
难度 2/5 1-3 小时 新手友好度 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100