espressif / esp-rainmaker

ESP RainMaker Agent for firmware development
Apache License 2.0
431 stars 145 forks source link

Dependency error during 'idf.py set-target' (MEGH-5609) #316

Closed mjdswan closed 2 weeks ago

mjdswan commented 2 weeks ago

Answers checklist.

IDF / ESP32-Arduino version.

ESP-IDF v5.2.2 + ESP32C6

Operating System used.

Windows

How did you build your project?

Command line with idf.py

Development Kit.

Custom Board

What is the expected behavior?

I expected to be able to set the project target to esp32c6 and then edit configuration via menuconfig or IDE config editor.

What is the actual behavior?

I've somehow managed to mess up the build configuration after recently upgrading to IDF v5.2.2 from 5.1.4. Eventually I performed a full reinstall of IDE 3.0.0 + IDF 5.2.2, then tried the following inside my project folder from PS:

  1. install.ps1
  2. export.ps1
  3. idf.py set-target esp32c6

The result is a dependency error that is probably simple, but I don't understand it. Please see my pasted log below.

Steps to reproduce.

In project folder:

  1. install.ps1
  2. export.ps1
  3. idf.py set-target esp32c6

Build Logs.

PS C:\Users\mswan\.espressif\workspace\esp-rainmaker\examples\mad_led_light> idf.py set-target esp32c6
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory 'C:\Users\mswan\.espressif\workspace\esp-rainmaker\examples\mad_led_light\build' is empty. Nothing to clean.
Executing action: set-target
Set Target to: esp32c6, new sdkconfig will be created.
Running cmake in directory C:\Users\mswan\.espressif\workspace\esp-rainmaker\examples\mad_led_light\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=C:\Users\mswan\.espressif\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe -DESP_PLATFORM=1 -DIDF_TARGET=esp32c6 -DCCACHE_ENABLE=1 C:\Users\mswan\.espressif\workspace\esp-rainmaker\examples\mad_led_light"...
-- Found Git: C:/Users/mswan/.espressif/Espressif/tools/idf-git/2.44.0/cmd/git.exe (found version "2.44.0.windows.1")
-- Component directory C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp-insights does not contain a CMakeLists.txt file. No component will be added
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/mswan/.espressif/Espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin/riscv32-esp-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Users/mswan/.espressif/Espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin/riscv32-esp-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Users/mswan/.espressif/Espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin/riscv32-esp-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32c6
Dependencies lock doesn't exist, solving dependencies.
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0)(introduced by component esp_diagnostics)
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\esp_diag_data_store for dependency espressif/esp_diag_data_store(~1.0)(introduced by component esp_insights)
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\esp_diagnostics for dependency espressif/esp_diagnostics(~1.0)(introduced by component esp_insights)
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0)(introduced by component esp_insights)
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp_schedule for dependency espressif/esp_schedule(~1.0.0)(introduced by component esp_rainmaker)
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\json_generator for dependency espressif/json_generator(~1.1.1)(introduced by component esp_rainmaker)
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\json_parser for dependency espressif/json_parser(~1.0.3)(introduced by component esp_rainmaker)
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.2)(introduced by component esp_rainmaker)
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.2)(introduced by component esp_schedule)
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\jsmn for dependency espressif/jsmn(~1.1)(introduced by component json_parser)
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp_rainmaker for dependency espressif/esp_rainmaker(==1.1.0), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/mad_led_light/main\idf_component.yml
.....Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp_schedule for dependency espressif/esp_schedule(~1.0.0)(introduced by component espressif/esp_rainmaker), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/mad_led_light/main\idf_component.yml
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\json_generator for dependency espressif/json_generator(~1.1.1)(introduced by component espressif/esp_rainmaker), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/mad_led_light/main\idf_component.yml
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\json_parser for dependency espressif/json_parser(~1.0.3)(introduced by component espressif/esp_rainmaker), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/mad_led_light/main\idf_component.yml
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.2)(introduced by component espressif/esp_rainmaker), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/mad_led_light/main\idf_component.yml
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.2)(introduced by component espressif/esp_schedule)
....Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\jsmn for dependency espressif/jsmn(~1.1)(introduced by component espressif/json_parser)
........Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp-insights/components/esp_diagnostics\idf_component.yml
.Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\esp_diag_data_store for dependency espressif/esp_diag_data_store(~1.0), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp-insights/components/esp_insights\idf_component.yml
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\esp_diagnostics for dependency espressif/esp_diagnostics(~1.0), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp-insights/components/esp_insights\idf_component.yml
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp-insights/components/esp_insights\idf_component.yml
..Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0)(introduced by component espressif/esp_diagnostics), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp-insights/components/esp_insights\idf_component.yml
.Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp_schedule for dependency espressif/esp_schedule(~1.0.0), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp_rainmaker\idf_component.yml
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\json_generator for dependency espressif/json_generator(~1.1.1), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp_rainmaker\idf_component.yml
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\json_parser for dependency espressif/json_parser(~1.0.3), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp_rainmaker\idf_component.yml
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.2), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp_rainmaker\idf_component.yml
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.2), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp_schedule\idf_component.yml
.Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\jsmn for dependency espressif/jsmn(~1.1), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/json_parser\idf_component.yml
.Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\esp_insights for dependency espressif/esp_insights(~1.0.1), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/common/app_insights\idf_component.yml
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp_rainmaker for dependency espressif/esp_rainmaker(~1.0.0), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/common/app_insights\idf_component.yml
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\esp_diag_data_store for dependency espressif/esp_diag_data_store(~1.0)(introduced by component espressif/esp_insights), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/common/app_insights\idf_component.yml
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\esp_diagnostics for dependency espressif/esp_diagnostics(~1.0)(introduced by component espressif/esp_insights), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/common/app_insights\idf_component.yml
Using component placed at C:\Users\mswan\.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0)(introduced by component espressif/esp_insights), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/common/app_insights\idf_component.yml
CMake Error at C:/Users/mswan/.espressif/frameworks/esp-idf-v5.2.2/tools/cmake/build.cmake:544 (message):
  ERROR: Because no versions of espressif/esp_rainmaker match >1.0.0,<1.1.0

   and espressif/esp_rainmaker (1.0.0) depends on espressif/mdns (^1.2.0), espressif/esp_rainmaker (>=1.0.0,<1.1.0) requires espressif/mdns (^1.2.0).

  So, because no versions of espressif/mdns match ^1.2.0

   and project depends on espressif/esp_rainmaker (~1.0.0), version solving failed.

Call Stack (most recent call first):
  C:/Users/mswan/.espressif/frameworks/esp-idf-v5.2.2/tools/cmake/project.cmake:605 (idf_build_process)
  CMakeLists.txt:16 (project)

.-- Configuring incomplete, errors occurred!
See also "C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/mad_led_light/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1, output of the command is in the C:\Users\mswan\.espressif\workspace\esp-rainmaker\examples\mad_led_light\build\log\idf_py_stderr_output_2916 and C:\Users\mswan\.espressif\workspace\esp-rainmaker\examples\mad_led_light\build\log\idf_py_stdout_output_2916
PS C:\Users\mswan\.espressif\workspace\esp-rainmaker\examples\mad_led_light> idf.py --version
ESP-IDF v5.2.2
PS C:\Users\mswan\.espressif\workspace\esp-rainmaker\examples\mad_led_light>

More Information.

No response

mjdswan commented 2 weeks ago

Additional note: I've also tried restoring my project folder from incremental backups done before upgrading IDF and reinstalling, but I get this same error.

mjdswan commented 2 weeks ago

Update: I've tried to refresh my install of esp-rainmaker, and tried the same on the provided (unmodified) example led_light, but I get a similar error:

PS C:\Users\mswan.espressif\workspace\esp-rainmaker\examples\led_light> idf.py set-target esp32c6 Adding "set-target"'s dependency "fullclean" to list of commands with default set of options. Executing action: fullclean Directory 'C:\Users\mswan.espressif\workspace\esp-rainmaker\examples\led_light\build' doesn't seem to be a CMake build directory. Refusing to automatically delete files in this directory. Delete the directory manually to 'clean' it. PS C:\Users\mswan.espressif\workspace\esp-rainmaker\examples\led_light> idf.py set-target esp32c6 Adding "set-target"'s dependency "fullclean" to list of commands with default set of options. Executing action: fullclean Build directory 'C:\Users\mswan.espressif\workspace\esp-rainmaker\examples\led_light\build' is empty. Nothing to clean. Executing action: set-target Set Target to: esp32c6, new sdkconfig will be created. Running cmake in directory C:\Users\mswan.espressif\workspace\esp-rainmaker\examples\led_light\build Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=C:\Users\mswan.espressif\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe -DESP_PLATFORM=1 -DIDF_TARGET=esp32c6 -DCCACHE_ENABLE=1 C:\Users\mswan.espressif\workspace\esp-rainmaker\examples\led_light"... -- Found Git: C:/Users/mswan/.espressif/Espressif/tools/idf-git/2.44.0/cmd/git.exe (found version "2.44.0.windows.1") -- Component directory C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp-insights does not contain a CMakeLists.txt file. No component will be added -- ccache will be used for faster recompilation -- The C compiler identification is GNU 13.2.0 -- The CXX compiler identification is GNU 13.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/Users/mswan/.espressif/Espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin/riscv32-esp-elf-gcc.exe -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Users/mswan/.espressif/Espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin/riscv32-esp-elf-gcc.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Users/mswan/.espressif/Espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin/riscv32-esp-elf-g++.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building ESP-IDF components for target esp32c6 Dependencies lock doesn't exist, solving dependencies. Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0)(introduced by component esp_diagnostics) Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\esp_diag_data_store for dependency espressif/esp_diag_data_store(~1.0)(introduced by component esp_insights) Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\esp_diagnostics for dependency espressif/esp_diagnostics(~1.0)(introduced by component esp_insights) Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0)(introduced by component esp_insights) Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp_schedule for dependency espressif/esp_schedule(~1.2.0)(introduced by component esp_rainmaker) Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\json_generator for dependency espressif/json_generator(~1.1.1)(introduced by component esp_rainmaker) Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\json_parser for dependency espressif/json_parser(~1.0.3)(introduced by component esp_rainmaker) Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.2)(introduced by component esp_rainmaker) Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.2)(introduced by component esp_schedule) Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\jsmn for dependency espressif/jsmn(~1.1)(introduced by component json_parser) .Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp-insights/components/esp_diagnostics\idf_component.yml .Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\esp_diag_data_store for dependency espressif/esp_diag_data_store(~1.0), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp-insights/components/esp_insights\idf_component.yml Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\esp_diagnostics for dependency espressif/esp_diagnostics(~1.0), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp-insights/components/esp_insights\idf_component.yml Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp-insights/components/esp_insights\idf_component.yml ...Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0)(introduced by component espressif/esp_diagnostics), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp-insights/components/esp_insights\idf_component.yml .Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp_schedule for dependency espressif/esp_schedule(~1.2.0), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp_rainmaker\idf_component.yml Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\json_generator for dependency espressif/json_generator(~1.1.1), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp_rainmaker\idf_component.yml Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\json_parser for dependency espressif/json_parser(~1.0.3), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp_rainmaker\idf_component.yml Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.2), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp_rainmaker\idf_component.yml Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.2)(introduced by component espressif/esp_schedule), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp_rainmaker\idf_component.yml ....Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\jsmn for dependency espressif/jsmn(~1.1)(introduced by component espressif/json_parser), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp_rainmaker\idf_component.yml ....Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.2), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/esp_schedule\idf_component.yml .Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\jsmn for dependency espressif/jsmn(~1.1), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/components/json_parser\idf_component.yml .Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\esp_insights for dependency espressif/esp_insights(~1.0.1), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/common/app_insights\idf_component.yml Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp_rainmaker for dependency espressif/esp_rainmaker(~=1.0), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/common/app_insights\idf_component.yml Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\esp_diag_data_store for dependency espressif/esp_diag_data_store(~1.0)(introduced by component espressif/esp_insights), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/common/app_insights\idf_component.yml Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\esp_diagnostics for dependency espressif/esp_diagnostics(~1.0)(introduced by component espressif/esp_insights), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/common/app_insights\idf_component.yml Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.0)(introduced by component espressif/esp_insights), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/common/app_insights\idf_component.yml .Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp_schedule for dependency espressif/esp_schedule(~1.2.0)(introduced by component espressif/esp_rainmaker), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/common/app_insights\idf_component.yml Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\json_generator for dependency espressif/json_generator(~1.1.1)(introduced by component espressif/esp_rainmaker), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/common/app_insights\idf_component.yml Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\json_parser for dependency espressif/json_parser(~1.0.3)(introduced by component espressif/esp_rainmaker), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/common/app_insights\idf_component.yml Using component placed at C:\Users\mswan.espressif\workspace\esp-rainmaker\components\esp-insights\components\rmaker_common for dependency espressif/rmaker_common(~1.4.2)(introduced by component espressif/esp_rainmaker), specified in C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/common/app_insights\idf_component.yml CMake Error at C:/Users/mswan/.espressif/frameworks/esp-idf-v5.2.2/tools/cmake/build.cmake:544 (message): ERROR: Because no versions of espressif/esp_rainmaker match >=1.0.0,<1.1.0 || >1.1.0,<2.0.0

and espressif/esp_rainmaker (1.1.0) depends on espressif/mdns (^1.2.0), espressif/esp_rainmaker (>=1.0.0,<2.0.0) requires espressif/mdns (^1.2.0).

So, because no versions of espressif/mdns match ^1.2.0

and project depends on espressif/esp_rainmaker (~=1.0), version solving failed.

Call Stack (most recent call first): C:/Users/mswan/.espressif/frameworks/esp-idf-v5.2.2/tools/cmake/project.cmake:605 (idf_build_process) CMakeLists.txt:16 (project)

.-- Configuring incomplete, errors occurred! See also "C:/Users/mswan/.espressif/workspace/esp-rainmaker/examples/led_light/build/CMakeFiles/CMakeOutput.log". cmake failed with exit code 1, output of the command is in the C:\Users\mswan.espressif\workspace\esp-rainmaker\examples\led_light\build\log\idf_py_stderr_output_6876 and C:\Users\mswan.espressif\workspace\esp-rainmaker\examples\led_light\build\log\idf_py_stdout_output_6876 PS C:\Users\mswan.espressif\workspace\esp-rainmaker\examples\led_light>

mjdswan commented 2 weeks ago

Moved issue to esp-idf forum.