micro-ROS / micro-ROS/micro_ros_setup

Problems with include path of libraries in microros

オープン
#664 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Shell
スター
509
フォーク
183
平均マージ
22時間 26分
マージ済み PR(30日)
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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、libmicroros/include を作成する microros_setup の出力と、静的ライブラリに使用されるコンパイルフラグを調査します。生成されたヘッダーを、各ライブラリのディレクトリを個別に追加せずに 1 つのインクルードパスでインクルードでき、コードで使用されているインクルード構成にも一致していれば完了です。

索引モデルが issue の本文から書いたものです。

評価

領域
build-system, embedded-iot
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。