Closed VedantParanjape closed 4 years ago
You will need to add a CMakeLists.txt
file inside the main
folder of your project (https://github.com/VedantParanjape/ROS-Workshop-ESP32-Codes/tree/master/codes/ROS_with_servo_control/main).
main
folder is treated as a component and hence it requires its own CMakeLists.txt
. Since there is no CMakeLists.txt
inside the main
folder, the build system excludes it and hence could not find reference to app_main
It compiles ! Thanks !
Getting some issues with linker while binary generation.
Update: deleting the build folder and recompiling fixed the issue
I added a CMakeLists.txt to rossserial_esp32 component to make it compatible with idf.py
My CMakeLists.txt content:
my code: https://github.com/VedantParanjape/ROS-Workshop-ESP32-Codes
Error: