Help with MicroROS build system

asked 2023-01-17 00:11:57 -0500

gentijo gravatar image

updated 2023-01-17 00:12:30 -0500

Hi all,

I am trying to integrate MicroROS with Micropython and I am getting some odd errors. Currently I am having a problem where the .in header files are not being processed.

I have combed through all the .cmake and .mk files and can find where the .in files are scanned to do the macro replacement.

Can anyone point me to the cmake code that processes the ros header files ??

My repo is here, the micropython branch will produce the error.

https://github.com/gentijo/RosBots/tr...

An example is rcutils/configuration_flags.h.in not being processed to produce rcutils/configuration_flags.h

In file included from ../main/../../../micro_ros_src/src/rcutils/include/rcutils/allocator.h:28,
                 from ../main/../../../micro_ros_src/src/rcl/rcl/include/rcl/allocator.h:25,
                 from ../main/../../../micro_ros_src/src/rcl/rcl/include/rcl/init.h:25,
                 from ../main/../../../micro_ros_src/src/rcl/rcl/include/rcl/rcl.h:76,
                 from /opt/rosbots/microros_ws/components/app/ros/microros_app_base.h:10,
                 from ../main/ros_app.h:5,
                 from ../main/ros_app.cpp:6:
../main/../../../micro_ros_src/src/rcutils/include/rcutils/macros.h:25:10: fatal error: rcutils/configuration_flags.h: No such file or directory
 #include "rcutils/configuration_flags.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thank you John

edit retag flag offensive close merge delete