-
Notifications
You must be signed in to change notification settings - Fork 62
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
rcl/rcl.h: No such file or directory #187
Comments
Could you provide the whole log on an clean environment? |
A ran into the same problem. I figured out the problem (at least in my case).
|
Trying to build example/int32_publisher following the instructions in README.md. I have not sourced any of the ROS2 setup files. esp-idf-4.4.6. From a fresh clone, I get:
|
Maybe a hint on what is going on. Trying to make a simple example myself. If I clone today's version of the package (I guess defaulting to iron #d0e63d9), then I get the missing rcl/rcl.h issue. If I build from an older version (from about 2 years ago), then it is fine. Sorry this isn't more precise than that. |
Trying any of the branches of |
The reason the I am not entirely sure why this is the case, but this works. Should |
@pablogs9 would you have views on this? I am happy to prepare a PR but I am not sure that just setting I have tried to set |
Please open a PR so we can discuss there about your proposed changes |
Done (PR #223). I have worked on the humble branch as this is the one I use. |
https://github.com/tianrking/ESP32_MicroROS
At one time I was able to compile in the old version but the current version gives this error. I'm sure the environment is clean, I've enabled the espidf environment and configured the environment variables, but I can't find rcl rcl.h
[100%] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj
/root/ESP32_MicroROS/main/main.c:11:10: fatal error: rcl/rcl.h: No such file or directory
#include <rcl/rcl.h>
^~~~~~~~~~~
compilation terminated.
make[2]: *** [esp-idf/main/CMakeFiles/__idf_main.dir/build.make:76: esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:4839: esp-idf/main/CMakeFiles/__idf_main.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
make failed with exit code 2
The text was updated successfully, but these errors were encountered: