

hi,Marte:
Yes,I can build matter projects(NCS) in windows as well.
but I can't build the project https://github.com/project-chip/connectedhomeip/tree/master/examples/lock-app/nrfconnect
I wonder if I can build in windows platform.
best regards,
bugplus
Hi,
Please install the nRF Connect SDK and build the Matter: Door lock sample there instead. This sample is located in ncs/nrf/samples/matter/lock. It is the same example as the one you are linking to, but with the library files already generated in the SDK so you do not have to build the stack and platform modules yourself. Therefore, building the sample in nRF Connect SDK is already supported on Windows and should work out of the box.
Best regards,
Marte
Hi,Marte,
1: I have successfully build the matter project :door lock (NCS) ;
2: I still want my development to be based on the link https://github.com/project-chip/connectedhomeip/tree/master/examples/lock-app/nrfconnect
...
$ source E:/matter/ncs/ncs200/v2.0.0/zephyr/zephyr-env.sh
$ export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb
$ export GNUARMEMB_TOOLCHAIN_PATH=E:/matter/ncs/ncs200/toolchains/v2.0.0/
...
i'm not sure I can do it on windows.
Best regards,
bugplus
Hi,
Based on your error message the CHIP_ROOT variable is set to an incorrect value. This is because the method that is used to set it is not supported in Windows. You can fix this error by changing the following in CMakeLists.txt:
get_filename_component(CHIP_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/third_party/connectedhomeip REALPATH)
to this:
get_filename_component(CHIP_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../.. REALPATH)
Best regards,
Marte
Hi,Marte
thanks,
To avoid configuration issues, I will do this project under Linux
Best regards