micro-ROS / micro-ROS/micro_ros_setup
Problems with include path of libraries in microros
- Lenguaje dominante
- Shell
- Estrellas
- 509
- Forks
- 183
- Merge medio
- 22 h 26 min
- PR fusionados (30 d)
- 7
Descripción
## 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.
Guía de contribución
Línea de trabajo
Empieza inspeccionando la salida de microros_setup que crea libmicroros/include y las flags de compilación utilizadas para la biblioteca estática. El trabajo estará terminado cuando los headers generados puedan incluirse usando una sola ruta de inclusión, sin añadir cada directorio de biblioteca por separado, y manteniendo la disposición de inclusiones utilizada por el código.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Área
- build-system, embedded-iot
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100