MicroROS- Build failure for ESP32 with missing separator error
I am newbie to microros. Following the instructions provided at: https://medium.com/@SameerT009/connect-esp32-to-ros2-foxy-5f06e0cc64df and at the step of building firmware using the command "ros2 run microrossetup buildfirmware.sh", encountering following error, due to which build fails.
make[2]: Entering directory '/home/rb/microros_ws/firmware/freertos_apps/microros_esp32_extensions/build'
esp-idf/main/CMakeFiles/__idf_main.dir/flags.make:8: *** missing separator. Stop.
make[2]: Leaving directory '/home/rb/microros_ws/firmware/freertos_apps/microros_esp32_extensions/build'
make[1]: *** [CMakeFiles/Makefile2:3835: esp-idf/main/CMakeFiles/__idf_main.dir/all] Error 2
make[1]: Leaving directory '/home/rb/microros_ws/firmware/freertos_apps/microros_esp32_extensions/build'
make: *** [Makefile:139: all] Error 2
[ros2run]: Process exited with failure 2
Tried checking esp-idf/main/CMakeFiles/_idfmain.dir/flags.make file line number 8 has action_msgs defined.
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
..
action_msgs" -isystem<snipped for brevity>
Pointers are appreciated
Asked by rkb on 2023-02-26 10:27:04 UTC
Answers
Hi, this seems to be a common error, see the thread here. You should use this new repo to program micro-ros with esp32.
Asked by FrankBu0616 on 2023-04-11 13:26:06 UTC
Comments