SDK example projects compilation failed

Hi,

Trying to evaluate the nRF52840DK with Matter examples but none of them seem to compile.

Following error is the result 

Building light_switch
west build --build-dir d:\FW\Eigen_projecten\nRF52840DK\Test_4\light_switch\build d:\FW\Eigen_projecten\nRF52840DK\Test_4\light_switch

[0/85] Performing build step for 'chip-gn'
Generating compile_commands took 9ms
Done. Made 88 targets from 90 files in 70ms
ninja: error: obj/examples/providers/device_info_provider.ninja:9: expected newline, got ':'

FAILED: modules/connectedhomeip/src/chip-gn-stamp/chip-gn-build modules/connectedhomeip/-lCHIP modules/connectedhomeip/-lMatterDeviceInfoProviderExample
cmd.exe /C "cd /D D:\FW\Eigen_projecten\nRF52840DK\Test_4\light_switch\build\modules\connectedhomeip && C:\ncs\toolchains\v2.1.0\opt\bin\python.exe C:/ncs/v2.1.0/modules/lib/matter/config/nrfconnect/chip-module/make_gn_args.py @args.tmp > args.gn && C:/ncs/toolchains/v2.1.0/opt/bin/gn.exe --root=C:/ncs/v2.1.0/modules/lib/matter --root-target=C:/ncs/v2.1.0/modules/lib/matter/config/nrfconnect/chip-gn --dotfile=C:/ncs/v2.1.0/modules/lib/matter/config/nrfconnect/chip-gn/.gn --script-executable=C:/ncs/toolchains/v2.1.0/opt/bin/python.exe --export-compile-commands gen --check --fail-on-unused-args . && ninja"
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'c:\ncs\toolchains\v2.1.0\opt\bin\cmake.EXE' --build 'd:\FW\Eigen_projecten\nRF52840DK\Test_4\light_switch\build'

As this file is auto generated I do not know where to start searching for the cause.

Please advise

Related