Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't understand build #121

Open
JorgePerC opened this issue Sep 22, 2023 · 3 comments
Open

Can't understand build #121

JorgePerC opened this issue Sep 22, 2023 · 3 comments

Comments

@JorgePerC
Copy link

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/

@pablogs9
Copy link
Member

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?

@JorgePerC
Copy link
Author

JorgePerC commented Oct 11, 2023

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

@pablogs9
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants