Hello, I made an interop library to add to the nanoframework image and it works fine.
Additionally, I need to add other C/C++ libraries which must be included in the header of the interoop library (dependencies).
I added those libraries into the same folder where the final files that I copied from the stubs folder when building the interop library are.
When I try to generate the image, the build passes correctly but gives an error when trying to link and not found the references in the code like methods, classes, etc.. from the external library.
I was looking for possible solutions and found that I may have to add the "minimal" components to the CMakeList.txt so that they are included in the system build https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html#minimal-component-cmakelists
But..
What is the correct way to fix this or the best practices to add external libraries?