Closed me-no-dev closed 1 year ago
I have also encountered this problem. Do you have any ideas?
Have you pulled in the submodules too, using git submodule update --init --recursive
?
@shahpiyushv we have definitely pulled all submodules. esp_rmaker_factory_get_size
is nowhere to be found, but since client_cert_len
is also undefined, I opted to remove lines 128 and 133 and also remove the whole esp_rmaker_get_client_cert_len
function. That produced a successful build and everything seems to work too. I guess this is some old or unfinished feature that is no longer needed? Please have this resolved, because it's really blocking Arduino 2.0.8 (which was also initially blocked by RainMaker for unrelated malloc issue that is now fixed).
One reason could be the order of including extra components. RainMaker examples have this
set(EXTRA_COMPONENT_DIRS ${RMAKER_PATH}/components/esp-insights/components ${RMAKER_PATH}/components ${RMAKER_PATH}/examples/common)
If the esp-insights is included AFTER RainMaker components, then rmaker_common from within esp-insights would get used , instead of the one one in esp-rainmaker, and that itself may not be up to date. This order will have to be checked in the arduino lib builder code.
If Arduino lib builder uses idf component manager, such issues will get fixed soon, but this is blocked on some issues in idf component manager itself.
If Arduino lib builder uses idf component manager, such issues will get fixed soon, but this is blocked on some issues in idf component manager itself.
it's starting to use it in the upcoming v3.0.0 based on IDF 5.1, but on 2.0.x it's not and will not (probably releasing the last such version). Will try the reorder and let you know. As a side note, couldn't this be done in a way that is not so touchy. I imagine any project that has not yet started using the component manager will suffer. Maybe this case can be checked and a more meaningful error message be produced?
@shahpiyushv adjusting the order of components helped! Thanks
Answers checklist.
IDF / ESP32-Arduino version.
ESP32-Arduino Lib Builder
Operating System used.
Linux
How did you build your project?
Command line with idf.py
Development Kit.
Any
What is the expected behavior?
Expected build to not fail
What is the actual behavior?
Build fails: https://github.com/espressif/esp32-arduino-lib-builder/actions/runs/4607493703/jobs/8142082876#step:4:62180
Steps to reproduce.
Just compile any project with RainMaker master (ESP-S3-BOX also failed to build)
Build Logs.