Windows NCS2.7.0 build matter light switch sample with option '--sysbuild' failed。

Kconfig header saved to 'D:/gen3switch_thread/v2.7.0/nrf/samples/matter/light_switch/build/_sysbuild/autoconf.h'
-- 
   *****************************
   * Running CMake for mcuboot *
   *****************************

Loading Zephyr default modules (Zephyr base).
-- Application: D:/gen3switch_thread/v2.7.0/bootloader/mcuboot/boot/zephyr
-- CMake version: 3.21.0
-- Using NCS Toolchain 2.6.20240605.885759407716 for building. (D:/gen3switch_thread/toolchains/ce3b5ff664/cmake)
CMake Error at cmake/modules/sysbuild_extensions.cmake:486 (message):
  CMake configure failed for Zephyr project: mcuboot

  Location: D:/gen3switch_thread/v2.7.0/bootloader/mcuboot/boot/zephyr/
Call Stack (most recent call first):
  cmake/modules/sysbuild_images.cmake:20 (ExternalZephyrProject_Cmake)
  cmake/modules/sysbuild_default.cmake:19 (include)
  D:/gen3switch_thread/v2.7.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  D:/gen3switch_thread/v2.7.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  D:/gen3switch_thread/v2.7.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!

 Hi,

I have installed NCS 2.7.0 using the nrf command line tools, and followed the tutorial to install the NCS VSCode extension in VsCode. However, when I compile the Matter Light Switch sample using sysbuild option, I encounter the following error.

Could u help me fix it?

Yours,

Jerry

Related