error building factory demo

mstumpel
Posts: 1
Joined: Tue Jun 15, 2021 1:10 pm

error building factory demo

Postby mstumpel » Tue May 28, 2024 10:53 am

Hi, I am trying to build the factory-demo from the git repro. When i run 'idf.py build' I get the following error (see below) that rainmaker version does not match.

What Am I doing wrong? How can I build rainmaker?
  1. Using component placed at C:\git\esp-box\examples\factory_demo\components\espressif__esp_schedule for dependency espressif/esp_schedule(~1.0.0)(introduced by component espressif/esp_rainmaker), specified in C:/git/esp-box/examples/factory_demo/main\idf_component.yml
  2. ....................................HINT: Please check manifest file of the following component(s): main
  3. CMake Error at C:/Espressif/frameworks/esp-idf-v5.2.1/tools/cmake/build.cmake:544 (message):
  4.   ERROR: Because espressif/esp_rainmaker (1.0.0) depends on
  5.   espressif__esp_schedule (1.1.0)
  6.  
  7.    and espressif__esp_schedule (1.1.0) depends on espressif/rmaker_common (~1.4.2), espressif/esp_rainmaker (1.0.0) requires espressif/rmaker_common (~1.4.2).
  8.  
  9.   So, because no versions of espressif/rmaker_common match ~1.4.2
  10.  
  11.    and project depends on espressif/esp_rainmaker (1.0.0), version solving failed.
  12.  
  13. Call Stack (most recent call first):
  14.   C:/Espressif/frameworks/esp-idf-v5.2.1/tools/cmake/project.cmake:605 (idf_build_process)
  15.   CMakeLists.txt:16 (project)
  16.  
  17.  
  18. -- Configuring incomplete, errors occurred!
  19. See also "C:/git/esp-box/examples/factory_demo/build/CMakeFiles/CMakeOutput.log".
  20. cmake failed with exit code 1, output of the command is in the C:\git\esp-box\examples\factory_demo\build\log\idf_py_stderr_output_24636 and C:\git\esp-box\examples\factory_demo\build\log\idf_py_stdout_output_24636

ESP_Xuxin
Posts: 83
Joined: Thu Sep 22, 2022 3:35 am

Re: error building factory demo

Postby ESP_Xuxin » Wed May 29, 2024 2:10 am

There are some issues with the component manager under Windows recently, and our colleagues are working on solving them.

rjk101
Posts: 1
Joined: Sat Jun 22, 2024 12:12 am

Re: error building factory demo

Postby rjk101 » Sat Jun 22, 2024 12:17 am

I am getting exactly the same error (but I’m using IDF 5.2.2). Is there any progress or expected date for a fix please.

ESP_Xuxin
Posts: 83
Joined: Thu Sep 22, 2022 3:35 am

Re: error building factory demo

Postby ESP_Xuxin » Mon Jun 24, 2024 2:50 am

Hello you can use this command pip install idf-component-manager==2.0.0.dev0 to update your idf-component-manage version.

Who is online

Users browsing this forum: No registered users and 3 guests