<?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>nRF52833: Zigbee Light Switch sample not building</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100858/nrf52833-zigbee-light-switch-sample-not-building</link><description>Hello, 
 I am attempting to build the Zigbee Light Switch sample on my nRF52833 DK, but the sample is generating an error every time I am attempting to build it. I have tried various combinations of settings in the build configurations but there always</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Jun 2023 09:26:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100858/nrf52833-zigbee-light-switch-sample-not-building" /><item><title>RE: nRF52833: Zigbee Light Switch sample not building</title><link>https://devzone.nordicsemi.com/thread/431926?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 09:26:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99617f77-1ee0-476d-92e9-d774d7dc52e5</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you to checking!&amp;nbsp;&lt;/p&gt;
[quote user="nandinee"]I am using the nRF Connect for VS Code extension with the nRF Connect SDK v2.4.0&amp;nbsp;[/quote]
&lt;p&gt;Good to know!&lt;/p&gt;
[quote user="nandinee"]No, I did not change anything in the prj,conf of the project.&amp;nbsp;
&lt;ol&gt;
&lt;li&gt;I did not change anything in the nrf52833dk-nrf52833.conf file either, and I just checked and saw that CONFIG_CRYPTO is set to &amp;#39;y&amp;#39;.&lt;/li&gt;&lt;/ol&gt;[/quote]
&lt;p&gt;Hmm, interesting. Are you able to compile any other zigbee samples? How about any other non-zigbee samples, for instance the hello world sample?&lt;/p&gt;
&lt;p&gt;I do also see that the path used in the build log is &amp;#39;&amp;quot;c:\Users\nandi\Desktop\nrfProject\light_switch\build_1&amp;quot;, do you know if this is outside of where you&amp;#39;ve installed the SDK?&amp;nbsp; The issue might be path related so could you try to compile a sample from the SDK? Use the&amp;nbsp;&amp;quot;Open existing application&amp;quot;, navigate to the Zigbee sample located in &amp;lt;ncs install location\v.2.4.0\nrf\samples\zigbee\zigbee_light_switch and build for nrf52833dk_nrf52833 or through commandline, whichever you prefer&lt;/p&gt;
[quote user="nandinee"]I believe I am working with a pristine SDK, but what is the method to confirm this? I am a beginner and still unclear on the exact meaning of these terminologies.&amp;nbsp;[/quote]
&lt;p&gt;No worries, I understand how that could cause some confusion. When I refer to a &amp;quot;pristine SDK&amp;quot; I mean that if you have changed any configuration files or dependencies that samples depend on. By trying to build anything in a pristine sdk it excludes if the errors you&amp;#39;ve encountered is caused by changes or not&lt;/p&gt;
&lt;p&gt;This is not necessary the best solution, but one suggestion is to use a similar setup as mine&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have every version that I need to use installed in one location. Every v.x.x.x is one instance of the SDK that I have kept &lt;em&gt;relatively&lt;/em&gt; pristine.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1687252649575v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In my_projects I have the different projects that I have created by using &amp;quot;create new application from existing sample&amp;quot; and setting the Application location to a respective folder in my_projects.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1687252724360v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This way I can keep the samples as pristine as possible and modify them as I need outside of the SDK&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1687252798986v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Let me know if you building within the SDK solves the issue or if you have any other questions throughout the process&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833: Zigbee Light Switch sample not building</title><link>https://devzone.nordicsemi.com/thread/431892?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 07:54:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82348b81-bfdd-4d81-ab7e-27b2549ef7b2</guid><dc:creator>nandinee</dc:creator><description>&lt;p&gt;Hi, thank you for the response! To answer your questions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I am using the nRF Connect for VS Code extension with the nRF Connect SDK v2.4.0&amp;nbsp;&lt;/li&gt;
&lt;li&gt;No, I did not change anything in the prj,conf of the project.&amp;nbsp;
&lt;ol&gt;
&lt;li&gt;I did not change anything in the nrf52833dk-nrf52833.conf file either, and I just checked and saw that CONFIG_CRYPTO is set to &amp;#39;y&amp;#39;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;I believe I am working with a pristine SDK, but what is the method to confirm this? I am a beginner and still unclear on the exact meaning of these terminologies.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833: Zigbee Light Switch sample not building</title><link>https://devzone.nordicsemi.com/thread/431275?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 13:10:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c0ecfe1-0d79-47f5-8384-e47cb011e40f</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/zigbee/light_switch/README.html"&gt;Zigbee light switch sample&lt;/a&gt;&amp;nbsp;builds out of the box on my end. Could you answer the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Which SDK are you using?&lt;/li&gt;
&lt;li&gt;Did you make any modifications to the prj.conf of the project?
&lt;ol&gt;
&lt;li&gt;Did you make any changes to the nrf52833dk-nrf52833.conf? The error you get in the build log suggests that you have either put CONFIG_CRYPTO to &amp;#39;n&amp;#39; instead of &amp;#39;y&amp;#39; in this configuration, either in the sample folder or in the SDK&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Are you working with a pristine SDK, i.e have you made&amp;nbsp;&lt;em&gt;any&lt;/em&gt; modifications to the SDK at all?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>