Why can't build matter project in windows platform?

hi,
if this project can't build in windows platform?
                            thanks!
Parents Reply
  • 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

Children
Related