CMake Error requirement: "qrcode" candidates: "espressif__qrcode, qrcode"

Ybin_ESP
Posts: 6
Joined: Wed Apr 10, 2024 2:51 am

CMake Error requirement: "qrcode" candidates: "espressif__qrcode, qrcode"

Postby Ybin_ESP » Sun Aug 18, 2024 10:00 am

Hello Guys,

I see Espressif IDE3.0.0 with ESP-IDF v5.2.2 has been online and available to download.
Now it is been quite fast to setup the devop chain tool. makes me exciting.

But I got error when I compile the LED Light example project(under ESP rainmaker).
Let me paste the error log:

CMake Error at D:/Espressif/frameworks/esp-idf-v5.2.2/tools/cmake/component.cmake:250 (message):
-- Configuring incomplete, errors occurred!
ERROR: Cannot process component requirements. Multiple candidates to
See also "C:/Users/linku/workspace/Led_light/build/CMakeFiles/CMakeOutput.log".
satisfy project requirements:

requirement: "qrcode" candidates: "espressif__qrcode, qrcode"

Anyone knows what happen? And what should I do?

aliarifat794
Posts: 172
Joined: Sun Jun 23, 2024 6:18 pm

Re: CMake Error requirement: "qrcode" candidates: "espressif__qrcode, qrcode"

Postby aliarifat794 » Mon Aug 19, 2024 2:46 pm

If you know which qrcode component you want to use (e.g., espressif__qrcode), you can explicitly specify it in your CMakeLists.txt file. This helps CMake to resolve the conflict.

Ybin_ESP
Posts: 6
Joined: Wed Apr 10, 2024 2:51 am

Re: CMake Error requirement: "qrcode" candidates: "espressif__qrcode, qrcode"

Postby Ybin_ESP » Sat Aug 24, 2024 3:34 pm

Yes. I solved this problem by run idf.py and add qrcode dependency.
Thank you evry much. :lol:

Who is online

Users browsing this forum: No registered users and 212 guests