micro_ros_stm32cubemx_utils icon indicating copy to clipboard operation
micro_ros_stm32cubemx_utils copied to clipboard

Can't understand build

Open JorgePerC opened this issue 1 year ago • 3 comments

Hey, newcomer here. I'm trying to incorporate this into a new CubeIDE project, but can't seem to understand how to do it. Specially with steps 3 and 4, I clone this repo into my project, yet, I fail at building? libmicroros. I guess this is done through docker, but then how can I find the absolute path at step 4? I've tried to run the library_generation.sh in my local machine but fail at doing so. I've completed the tutorial at https://micro.ros.org/docs/tutorials/core/first_application_linux/

JorgePerC avatar Sep 22 '23 22:09 JorgePerC

Hello, we need more details about your failure. In which step it fails?

You mention problems with steps 3 and 4:

image

Could you elaborate on this?

pablogs9 avatar Sep 25 '23 05:09 pablogs9

So... I had an initial error due to working on a board with two micros. Tried again with a single one, and copypasted the paths as the instructions said. //question: should step 3 be repeated for MCU GCC and MCU G++ compiler?

Screenshot from 2023-10-11 14-05-50


It eventually got to the build process. However, it failed. It is a missing file <uxr/client/transport.h> Screenshot from 2023-10-11 14-51-04

Then I found a similar issue But I got question, if I want to modify it, should I just edit the file locally on the clone of this repo? or is it dependent on the Docker image?

Btw, thanks for the help :D

JorgePerC avatar Oct 11 '23 20:10 JorgePerC

Yes, if you are using C and C++ you will need to add the include paths for both compilers

pablogs9 avatar Oct 13 '23 06:10 pablogs9