Build my first example code, with vs studio code, get " Unmet or cyclic dependencies in modules:C:/v1.7.1/modules/lib/matter depends on: ['openthread']" error

Hello, guys.

I'm first use nRF Connect with vs studio code to build test code.

Step by step:

nRF Connect for Desktop v3.8.0 --->Toolchain Manager ---> nRF Connect SDK v1.7.1, Install build environment.

I got the following error , when to build the code. How can I solve this problem?

THX everyone。

> Executing task: nRF Connect: Generate config nrf52dk_nrf52832 for d:\hf-test-code\hfworld <

Building hfworld
west build --build-dir d:\hf-test-code\hfworld\build d:\hf-test-code\hfworld --pristine --board nrf52dk_nrf52832 -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_OPENOCD_SUPPORT=y

-- west build: generating a build system
Including boilerplate (Zephyr base): C:/v1.7.1/zephyr/cmake/app/boilerplate.cmake
-- Application: D:/hf-test-code/hfworld
-- Zephyr version: 2.6.99 (C:/v1.7.1/zephyr), build: v2.6.99-ncs1-1
-- Found Python3: C:/v1.7.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
-- Found west (found suitable version "0.11.1", minimum required is "0.7.1")
CMake Error at C:\v1.7.1\zephyr\cmake\zephyr_module.cmake:61 (message):
  Unmet or cyclic dependencies in modules:

  C:/v1.7.1/modules/lib/matter depends on: ['openthread']

  

Call Stack (most recent call first):
  C:\v1.7.1\zephyr\cmake\app\boilerplate.cmake:182 (include)
  C:\v1.7.1\zephyr\share\zephyr-package\cmake\ZephyrConfig.cmake:24 (include)
  C:\v1.7.1\zephyr\share\zephyr-package\cmake\ZephyrConfig.cmake:35 (include_boilerplate)
  d:\hf-test-code\hfworld\build\CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'c:\v1.7.1\toolchain\opt\bin\cmake.EXE' '-DWEST_PYTHON=c:\v1.7.1\toolchain\opt\bin\python.exe' '-Bd:\hf-test-code\hfworld\build' '-Sd:\hf-test-code\hfworld' -GNinja -DBOARD=nrf52dk_nrf52832 -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING=NONE -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_OPENOCD_SUPPORT=y

Related