<?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>Compilation not possible with Occupancy cluster enabled (Matter)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113049/compilation-not-possible-with-occupancy-cluster-enabled-matter</link><description>Hi, 
 I am working with the Matter Light Bulb sample . I have come across a problem where I can not compile my firmware if I implement the occupancy sensor cluster using the ZAP-Tool. 
 When I toggle this option to enabled, the compilation fails. 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Aug 2024 12:03:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113049/compilation-not-possible-with-occupancy-cluster-enabled-matter" /><item><title>RE: Compilation not possible with Occupancy cluster enabled (Matter)</title><link>https://devzone.nordicsemi.com/thread/497148?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2024 12:03:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d05760e4-f5fc-42fa-b7e4-72f2b0435d91</guid><dc:creator>rwahidi</dc:creator><description>&lt;p&gt;Nevermind, the same issue appears again in a completely new environment. I think using the ZAP Tool GUI to generate the files was the issue. Generating the files with the generate.py script works for now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation not possible with Occupancy cluster enabled (Matter)</title><link>https://devzone.nordicsemi.com/thread/496253?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 14:11:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a84aa6d3-b650-4509-9165-c33a7ab6b896</guid><dc:creator>rwahidi</dc:creator><description>&lt;p&gt;I think I have found what caused most of the problems. Whenever I would install a new version of the toolchain or SDK, it would install the toolchain and for some reason set the path to the old SDK without installing the newer one. So even when it showed as v2.5.0 it was actually some older version.&lt;/p&gt;
&lt;p&gt;This was the same for VS Code and when using the nRF Connect for desktop app to install other versions. The only fix I found so far ist completely getting rid of any other SDK&amp;#39;s, because just changing the directory did not help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation not possible with Occupancy cluster enabled (Matter)</title><link>https://devzone.nordicsemi.com/thread/495960?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2024 09:08:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cda109c-9372-4af7-968b-b747116207d8</guid><dc:creator>rwahidi</dc:creator><description>&lt;p&gt;I tried and still get the same behaviour&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation not possible with Occupancy cluster enabled (Matter)</title><link>https://devzone.nordicsemi.com/thread/495683?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 15:43:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:251c872c-5314-45ae-848e-ed1758c2e88a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Delete the build folder and build again.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation not possible with Occupancy cluster enabled (Matter)</title><link>https://devzone.nordicsemi.com/thread/495384?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 10:02:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a209f1d4-85d8-41f9-a854-c5f106ea1879</guid><dc:creator>rwahidi</dc:creator><description>&lt;p&gt;I removed the version I did not need, and that problem is fixed. However the ZAP-Tool version does not make a difference in my original issue, I again receive the same error.&lt;/p&gt;
&lt;p&gt;The only difference I see now, is that I can successfully compile again after removing the occupancy cluster in the ZAP-Tool. I am not sure what exactly changed.&lt;/p&gt;
&lt;p&gt;Edit: I created a new build of the light bulb sample in a different location, and it does compile with the occupancy sensor enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation not possible with Occupancy cluster enabled (Matter)</title><link>https://devzone.nordicsemi.com/thread/494438?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 20:53:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c2af514-3c27-4a03-85ee-82912ae2a89b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;You can check the environment variable and update it or&amp;nbsp;Try to search on your PC to find the other version&amp;nbsp;&lt;span&gt;ZAP-Tool and replace it with the corresponding version.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation not possible with Occupancy cluster enabled (Matter)</title><link>https://devzone.nordicsemi.com/thread/494316?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 10:29:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68e7b602-2f7e-4e0d-bd11-1a1b2828dce1</guid><dc:creator>rwahidi</dc:creator><description>&lt;p&gt;You were right, for some reason it always ran the wrong version of the ZAP-Tool.&lt;br /&gt;However it seems to have changed some files permanently, because I cannot fix this error by making a pristine build or by removing the cluster again using the ZAP-Tool.&lt;/p&gt;
&lt;p&gt;So even if the Occupancy Cluster is completely disabled ,or when I remove the entire endpoint, the problem remains.&lt;/p&gt;
&lt;p&gt;Do you have any suggestions? Else I might just try reinstalling the sdk.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation not possible with Occupancy cluster enabled (Matter)</title><link>https://devzone.nordicsemi.com/thread/493983?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 18:34:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ba0ff85-946b-49ab-9dac-5b133c280774</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please be aware that each NCS has its corresponding supported&amp;nbsp;&lt;span&gt;ZAP-Tool version and make sure you use the correct&amp;nbsp;ZAP-Tool version.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.5.0/page/nrf/protocols/matter/getting_started/tools.html"&gt;Installing the ZAP tool&lt;/a&gt;&lt;span&gt;.&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>