Open juan4java opened 8 months ago
@juan4java Seems like there are two different versions of the same component somehow being build. Could you check...
manage_components
directory of your example? Does it contain both espressif__led_strip
and led_strip
?idf.py fullclean
) and then rebuild the project, does the issue get resolved?And another thing to try: you can remove the led_strip
from the manifest, then run idf.py reconfigure
. There should be a list of Component paths:
printed. There you can find where the other version of led_strip is located.
Hi, thanks for both reply @Dazza0
@igrr
Updating : How this was taking too many time, only for test the code, I decided put the files of espressif__led_strip dependency (only the .c and .h files ) in the main folder, and I declared it in the CMake file. Yes!, I know this can be a ugly solution, but this worked fine and finally I did can build it with out any error to test the code. I will try to fix in the correct way, becuase this must to run it using the dependencies.
I also have seen this issue in our pipeline (ESP-IDF 5.2), where we build quite a few apps. Our solutions seems to be to remove any files related to the component manager, like managed_components
(not only in the current build folder) before starting a new app build. My hunch is that the component manager finds multiple instances and doesn't know which one too use.
Answers checklist.
IDF version.
5.1.1
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
PowerShell
What is the expected behavior?
ESP IDF Version 5.1.1 Operating System Windows 10
Condition I have clone the project, and cant build it, because the "led strip" component is ambiguos for the builder. Expected condition Build and run it in my ESP32C6 to use with a zigbee lamp.
Detail about the error Every time who I tried to build the project the console otput is the same:
I checked the _idf_component.yml_ file , and his content is:
and the CMakeList.txt file at project level is:
I had see other similars errors online like this but mi conditions aparently are well defined.
Also visited the espressif Build pages here, and still cant find where is the problem.
Last, I tried another option via deleted the "led strip" dependency, the compiler runs fine (it don't said nothing about the ambiguos dependency) , but finally it throws a lot of errors because the component don't exist and also because it is the expected behaivor.
What is the actual behavior?
Every time who I tried to build the project the console otput is the same:
Steps to reproduce.
Clone the esp idf repo, open using VSCode the examples/zigbee/light_sample/HA_on_off_light set the COM port, ESP32C6 clean and build.
Build or installation Logs.
More Information.
I clone another repo, similar to esp-idf, and the problem is the same.