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

./main/main.c:11:10: fatal error: rcl/rcl.h: No such file or directory #27

Closed
simonjcarr opened this issue Jan 10, 2021 · 2 comments
Closed

Comments

@simonjcarr
Copy link

simonjcarr commented Jan 10, 2021

I have followed your instructions, but I am obviously doing something wrong. Can you help?

  1. I cloned this repo into /esp/esp-idf/components
  2. I copied /esp/esp-idf/components/micro_ros_espidf_component/examples/int32_publisher to /esp/int32_publisher
  3. cd /esp
  4. . $IDF_PATH/export.sh
  5. cd /esp/int32_publisher
  6. idf.py menuconfig (setup wifi network)
  7. idf.py build

I get the following error

../main/main.c:11:10: fatal error: rcl/rcl.h: No such file or directory
 #include <rcl/rcl.h>
          ^~~~~~~~~~~
@simonjcarr
Copy link
Author

I think I understand why i was getting this error. I was using this repo in the wrong place in my code.

@wegunterjrFIrefly
Copy link

would you mind providing the answer for this? I followed the example here and am still getting the same error you are getting.
I am in the project folder, and have included the micro_ros_espidf_component folder

Project:
- components
- -micro_ros_espidf_component
- CMakelists.txt
- main.c

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