<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Why can&amp;#39;t build matter project in windows platform?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90411/why-can-t-build-matter-project-in-windows-platform</link><description>hi， 
 the project https://github.com/project-chip/connectedhomeip/tree/master/examples/lock-app/nrfconnect 
 
 
 if this project can&amp;#39;t build in windows platform？ 
 thanks！</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Jul 2022 23:52:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90411/why-can-t-build-matter-project-in-windows-platform" /><item><title>RE: Why can't build matter project in windows platform?</title><link>https://devzone.nordicsemi.com/thread/379206?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 23:52:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63a82f73-ca08-4b2b-82ce-8cc7ca82fb90</guid><dc:creator>bugplus</dc:creator><description>&lt;p&gt;Hi,Marte&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; thanks,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;To avoid configuration issues, I will do this project under Linux&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't build matter project in windows platform?</title><link>https://devzone.nordicsemi.com/thread/379142?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 13:05:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfe9e3d5-05bc-423a-b617-850916e798d7</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Based on your error message the&amp;nbsp;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:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;get_filename_component(CHIP_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/third_party/connectedhomeip REALPATH)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;to&amp;nbsp;this:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;get_filename_component(CHIP_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../.. REALPATH)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't build matter project in windows platform?</title><link>https://devzone.nordicsemi.com/thread/379067?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 09:24:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6fc31cb-f565-42c0-8a33-a330eebb0f3b</guid><dc:creator>bugplus</dc:creator><description>&lt;p&gt;Hi，&lt;span&gt;Marte,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1: I have successfully build&amp;nbsp; the matter project :door lock (NCS) ;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;2: I still want my development to be&amp;nbsp; based on the link&amp;nbsp;&amp;nbsp;&lt;a href="https://github.com/project-chip/connectedhomeip/tree/master/examples/lock-app/nrfconnect"&gt;https://github.com/project-chip/connectedhomeip/tree/master/examples/lock-app/nrfconnect&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; $ source E:/matter/ncs/ncs200/v2.0.0/zephyr/zephyr-env.sh&lt;br /&gt; $ export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb&lt;br /&gt; $ export GNUARMEMB_TOOLCHAIN_PATH=E:/matter/ncs/ncs200/toolchains/v2.0.0/&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;i&amp;#39;m not sure I can do it on windows.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best&amp;nbsp;regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;bugplus&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't build matter project in windows platform?</title><link>https://devzone.nordicsemi.com/thread/379050?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 08:48:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51024e77-7a5b-4d73-9941-db2ed14b2dbe</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please&amp;nbsp;install the nRF Connect SDK and build the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrf/samples/matter/lock/README.html"&gt;Matter: Door lock&lt;/a&gt;&amp;nbsp;sample there instead. This sample is located in&amp;nbsp;ncs/nrf/samples/matter/lock. It is the same example as the one you are linking to, but&amp;nbsp;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.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't build matter project in windows platform?</title><link>https://devzone.nordicsemi.com/thread/379024?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 06:02:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ee215a5-36fc-4c54-96a1-45ea596536f3</guid><dc:creator>bugplus</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/matter.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't build matter project in windows platform?</title><link>https://devzone.nordicsemi.com/thread/379022?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 05:58:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8f67ffa-be34-4651-8d10-fc17bb52790f</guid><dc:creator>bugplus</dc:creator><description>&lt;p&gt;hi，Marte：&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Yes,I can build matter projects(NCS) in windows as well.&lt;/p&gt;
&lt;p&gt;but I can&amp;#39;t build&amp;nbsp;&lt;span&gt;the project&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;a href="https://github.com/project-chip/connectedhomeip/tree/master/examples/lock-app/nrfconnect"&gt;https://github.com/project-chip/connectedhomeip/tree/master/examples/lock-app/nrfconnect&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I wonder&amp;nbsp; if I can build in windows platform.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;best regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bugplus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why can't build matter project in windows platform?</title><link>https://devzone.nordicsemi.com/thread/378920?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2022 12:52:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6cd39f0-b3a4-4864-91c7-61e48b525ed7</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can build Matter&amp;nbsp;projects in Windows as well.&lt;/p&gt;
&lt;p&gt;The documentation in your picture is for building Matter&amp;#39;s stack and platform modules, which are used to generate the Matter library files. These are already built as part of the nRF Connect SDK, and the Matter library files are automatically imported when you build the application.&lt;/p&gt;
&lt;p&gt;For how to build the Matter Door Lock sample please see&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.1/nrf/samples/matter/lock/README.html#building-and-running"&gt;Building and running&lt;/a&gt;&amp;nbsp;in the documentation for the sample.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>