Closed Panometric closed 1 year ago
@Panometric thank you for the issue,
I've just tried, but didn't manage to reproduce your problem.
Could you please provide more details?
Do you have EXTRA_COMPONENT_DIRS configured in your project? Could you please share the content of your main/idf_component.yml
?
Could you please also try to reproduce the problem on an empty project by running:
idf.py create-project tstqrcode
cd tstqrcode
idf.py add-dependency qrcode
idf.py reconfigure
@kumekay Thanks for the quick reply. I agree, your tstqrcode project works fine.
My EXTRA_COMPONENT_DIRS is set in CMakeLists.txt. And that appears to be a problem.
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/qrcode)
My file is simply this:
dependencies:
qrcode: "^0.1.0"
## Required IDF version
idf:
version: ">=4.1.0"
I added the idf_component.yml because the example would not compile, the qrcode was missing.
I can see why I should not define it twice, but it's an easy mistake to make and the error did not lead me to understand where it was coming from.
The Component Manager version
1.2.2
ESP-IDF Version
4.4
python Version
3.9.1
Operating System
Widnows 10
Browser (for https://components.espressif.com Issues)
No response
Description
Cannot build wifi_prov_mgr example:
To Reproduce
Expected behaviour
There is only one qrcode at https://components.espressif.com/components/espressif/qrcode It should just download it and continue building.
Additional info
No response
I have checked existing issues and online Documentation