Closed jayavanth closed 1 year ago
This issue is probably due to the fact that your main source file is a C++ file, but the header files in this repository are missing C++ guards. This should probably be fixed. In the meantime it should be possible to work around the issue by surrounding every #include
statement in your main.cc file related to esp-sr with
extern "C" {
#include "..."
}
(More information can be found here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/cplusplus.html#combining-c-and-c-code)
@igrr OMG thank you that worked!!
Thanks for confirming! Let's keep this open until this is fixed in the repo.
I will check and fix this issue.
The issue has been fixed.
I have added esp-sr to my
main/CMakeLists.txt
and I have also added it as EXTRA_COMPONENT_DIRS in my CMakeLists.txt
But I'm still getting this
ld
error:I also can't seem to find those symbols when I search in
esp-sr/lib/esp32s3/*.a
. Can someone please tell me what I'm missing? Thank you!