Closed raptium closed 1 month ago
Thank you for your feedback. I'm not very clear on the library linking rules, but from experience, if a library cannot be found, it is necessary to use add_prebuilt_library
in the CMakeLists to explicitly specify it.
I am using the esp-sr library in my Rust project and generating Rust bindings with the help of esp-idf-template. Although my project compiles successfully, I'm encountering linking errors due to missing symbols that should be in libm/newlib.
I suspect this is a similar issue that was previously fixed through commit 8ed7b711b33f963dff44dd5b619dc5673ece7955.
As a workaround, I added the following line to my project's CMakeLists.txt file:
This seems to resolve the issue successfully.
Could you please confirm if this addition is necessary to fix the missing symbols problem?