<?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>Issues building sample code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100830/issues-building-sample-code</link><description>The auto installed failed, so I had to do a manual install. I followed this tutorial: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/getting_started/installing.html After some struggle, it seems that I&amp;#39;m almost there. While trying to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Jun 2023 06:01:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100830/issues-building-sample-code" /><item><title>RE: Issues building sample code</title><link>https://devzone.nordicsemi.com/thread/433358?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2023 06:01:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff83ff0a-b745-4097-a902-779b955eb247</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Jose,&lt;/p&gt;
&lt;p&gt;Did you try storing all the SDK files in the location&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;C:/ncs/v2.4.0&amp;nbsp;&lt;/strong&gt;and then try the west update in there? Please do try this and let me know how it goes.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample code</title><link>https://devzone.nordicsemi.com/thread/433305?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2023 15:21:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c87e5dd-d0f4-406d-8116-c8100e6ab8b0</guid><dc:creator>Jose Vidal</dc:creator><description>&lt;p&gt;Automatic installation may be the way, but I followed the all steps by the letter (both, auto and manual)&lt;br /&gt;At the company we have two high speed connections,&amp;nbsp; the back up kicks in when the other goes down.&lt;br /&gt;I did try the west update from that folder several times.&lt;br /&gt;&lt;br /&gt;Don&amp;#39;t worry, just close the case... I will try solething else&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample code</title><link>https://devzone.nordicsemi.com/thread/433093?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2023 06:42:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:091fecaf-7eb8-4b5f-a7a6-07bc475c5ef9</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Jose,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s always best to have an automatic installation. Probably the issue of not downloading the SDK was caused because of a slow or unstable internet connection or maybe some GitHub issues.&lt;/p&gt;
&lt;p&gt;Also, you need the SDK files in the location &lt;strong&gt;C:/ncs/v2.4.0.&amp;nbsp;&lt;/strong&gt;But in your case, the SDK files have been installed directly into&amp;nbsp;&lt;strong&gt;C:/ncs&amp;nbsp;&lt;/strong&gt;and this can cause issues later on, as the .west file can be hidden anywhere in there.&lt;/p&gt;
&lt;p&gt;It would be great if you could install them into &lt;strong&gt;C:/ncs/v2.4.0.&amp;nbsp;&lt;/strong&gt;Also, the errors that you see are because of an incomplete installation, so now if you go to the SDK&amp;nbsp;folder and open a terminal and try&amp;nbsp;&lt;strong&gt;west update&lt;/strong&gt;, it should be fixed.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample code</title><link>https://devzone.nordicsemi.com/thread/433088?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2023 06:24:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f64ba12a-a051-4098-8c14-7802128bc463</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Jose,&lt;/p&gt;
&lt;p&gt;I will discuss internally with experts and will get back to you as soon as I get a solid response.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample code</title><link>https://devzone.nordicsemi.com/thread/432728?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 14:21:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:782e210f-f7d1-4414-b596-8425e858923f</guid><dc:creator>Jose Vidal</dc:creator><description>&lt;p&gt;I had no errors to troubleshoot, and that was the problem&lt;br /&gt;Nrf toolchain it will begin downloading the SDK, but then it will not create and download the SDK folder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample code</title><link>https://devzone.nordicsemi.com/thread/432608?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 06:04:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0e95f05-d4c0-422e-9efb-7fb2581bd9f2</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Jose,&lt;/p&gt;
&lt;p&gt;I am looking into this. In the meantime, could you tell me why your automatic installation of nRF Connect SDK failed? Did any error show up?&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample code</title><link>https://devzone.nordicsemi.com/thread/431881?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 07:02:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9de1199b-36c4-4378-8046-9e34f98bc572</guid><dc:creator>Jose Vidal</dc:creator><description>&lt;p&gt;I tried on &amp;quot;C:\ncs\VSC&amp;quot;&lt;br /&gt;I get the same error&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample code</title><link>https://devzone.nordicsemi.com/thread/431869?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 05:57:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea1bb808-e3de-4425-a7b2-bf748bb7fffc</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Jose,&lt;/p&gt;
&lt;p&gt;It shows here that your folder &amp;quot;blinky&amp;quot; has been created in this location:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1687240536377v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Could you maybe try creating it under a folder, say VScode, under C://ncs, because this is the path where your toolchains etc are located. For eg, I have all the VSCode projects created in the following location on my PC:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1687240659241v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample code</title><link>https://devzone.nordicsemi.com/thread/431837?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2023 17:06:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb3a1836-6ee1-480c-9a1c-b7aaf4291866</guid><dc:creator>Jose Vidal</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/westBuild.PNG" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample code</title><link>https://devzone.nordicsemi.com/thread/431651?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2023 06:04:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2f36d33-d9df-49b9-b4c7-2acc480f61d6</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Jose,&lt;/p&gt;
&lt;p&gt;It would be helpful if you could attach a screenshot of the error that you get.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample code</title><link>https://devzone.nordicsemi.com/thread/431363?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 17:22:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:692bc52a-2c01-42c7-8978-70382c48fd85</guid><dc:creator>Jose Vidal</dc:creator><description>&lt;p&gt;I also noticed that&amp;nbsp; &amp;quot;kconfig&amp;quot;&amp;nbsp; on VScode can&amp;#39;t find python3&lt;br /&gt;I gave the path to executable &amp;quot;kconfig.python&amp;quot;, gave the path to &amp;quot;...AppData\Local\Programs\Python\Python37\python.exe&amp;quot;&lt;br /&gt;But it does not find it, it is clearly there.... it also on my enviromental vars&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample code</title><link>https://devzone.nordicsemi.com/thread/431315?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 14:19:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4e414d0-67a6-4579-934b-8ebf07b94ceb</guid><dc:creator>Jose Vidal</dc:creator><description>&lt;p&gt;HI Priyanka!!!&lt;br /&gt;&lt;br /&gt;Thanks for the reply&lt;br /&gt;Originaly, while using nRF conenct,&amp;nbsp; the SDK will start downloading, then it will have a single empty folder.&lt;br /&gt;It seems that it was failing to download the files from github I think.&lt;br /&gt;I tried what you said, intelisense no longer gives errors &amp;quot;problem tab&amp;quot;, but on the terminal tab&lt;br /&gt;&lt;br /&gt;I can&amp;#39;t compile at the moment, I have:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Failure code 2&lt;/li&gt;
&lt;li&gt;-DNCS_TOOLCHAIN_VERSION:STRING=&amp;quot;NONE&amp;quot;&lt;/li&gt;
&lt;li&gt;West build &amp;quot;invalid choice&amp;quot; (it does not recognice build)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any more ideas?&lt;/p&gt;
&lt;p&gt;Thanks!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample code</title><link>https://devzone.nordicsemi.com/thread/431147?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 06:38:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e61aa0d-a6d1-4503-adb2-f28dce4cb0d4</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Jose,&lt;/p&gt;
&lt;p&gt;For the squiggles error, you just right click on it and &amp;quot;Disable all error squiggles&amp;quot;. And then try again.&lt;/p&gt;
&lt;p&gt;Also what problems did you face when installing automatically?&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>