<?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 programs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103756/issues-building-sample-programs</link><description>This is my environment: 
 IDE: VSC v1.82.1 with nRF Connect for VS Code Extension v2023.9.169 
 SDK: NCS v2.2.0 
 
 I am now unable to add and build any of the examples for nRF Connect SDK. Seems to have occured since the latest update to VSC, although</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Oct 2023 12:57:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103756/issues-building-sample-programs" /><item><title>RE: Issues building sample programs</title><link>https://devzone.nordicsemi.com/thread/449832?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 12:57:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:427a89ce-8c03-4ac1-be41-1ce8396569af</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Gotya &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample programs</title><link>https://devzone.nordicsemi.com/thread/449810?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 12:13:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:713c92f5-ef55-4cea-bd22-49acd3826f35</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;No it builds within the SDK without issue.&lt;/p&gt;
&lt;p&gt;The post was more of&amp;nbsp;I&amp;#39;m&amp;nbsp;also seeing the issue here on a newer SDK, rather that needing help resolving the issue.&lt;br /&gt;I resolved it by coping the common folder to the above directory (due to common being set&amp;nbsp;&lt;span&gt;${CMAKE_CURRENT_LIST_DIR}&lt;/span&gt;&lt;span&gt;/../../../common ).&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I do seem to have an issue with the sample itself but I&amp;#39;ll create a new post for that.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample programs</title><link>https://devzone.nordicsemi.com/thread/449801?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 12:04:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dcb6182-52fc-4a0f-9677-5866f754dc55</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Are you getting the same issue when simply building it in the SDK itself?&lt;/p&gt;
&lt;p&gt;If not, are you moving the common folder and changing the Cmakelists file to compensate?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample programs</title><link>https://devzone.nordicsemi.com/thread/449754?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 09:42:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04a4c13e-6522-4712-b4bc-014ea51e2f55</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;I&amp;#39;ve just started experimenting with NCS and came across this same issue, using 2.4.1, with the timer example, however I don&amp;#39;t get the same issue with the nrf LED matrix sample.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample programs</title><link>https://devzone.nordicsemi.com/thread/447896?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2023 09:18:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e22d333e-27e7-4790-be3b-1d5e255fde22</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello again. I&amp;#39;m glad you&amp;#39;ve found something that at least works.&lt;/p&gt;
[quote user="Mike Austin (LPI)"]Wasn&amp;#39;t like this before, so not sure what&amp;#39;s changed.[/quote]
&lt;p&gt;I&amp;nbsp;am not getting your git errors, but I am running into what you describe in 6) when trying an nrfx sample.&amp;nbsp;Failing to move the common-folder is&amp;nbsp;apparently recent bug that we are currently working on, though it might be fixed already as I am at least seeing the common-folder copied over when testing it myself. Though I do get the same error that&amp;nbsp;&lt;span&gt;you describe in 6)&lt;/span&gt;&amp;nbsp;afterwards. Though changing:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;C:/Nordic/Development/advanced_non_blocking_internal_timer/../../common/common.cmake&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;to:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;C:/Nordic/Development/advanced_non_blocking_internal_timer/common/common.cmake&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Makes it build for me.&lt;/p&gt;
&lt;p&gt;Are you seeing any similar issues with other samples besides the nrfx ones? Does that count for the git problem as well? I am not seeing that on my side.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample programs</title><link>https://devzone.nordicsemi.com/thread/446967?ContentTypeID=1</link><pubDate>Thu, 21 Sep 2023 03:22:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f64b2a3e-9034-446a-8691-8da8c9b7aa0f</guid><dc:creator>Mike Austin (LPI)</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/elfving"&gt;Elfving,&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What seems to be happening when I try and create a new application based on an existing example is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;it will copy all the relevant files to the specified location on my local drive&lt;/li&gt;
&lt;li&gt;it will then come up with those errors about failing a git commit because I&amp;#39;ve not provided my identity in the relevant location&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The files are actually there, its just Visual Studio Code wants to try and do some sort of git commit I&amp;#39;m not wanting it to.&lt;/p&gt;
&lt;p&gt;If I go and then open an existing application and navigate to where the files were placed, I seem to be able to build and run the example.&lt;/p&gt;
&lt;p&gt;Not ideal, but its a procedure that seems to work!&lt;/p&gt;
&lt;p&gt;Wasn&amp;#39;t like this before, so not sure what&amp;#39;s changed.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues building sample programs</title><link>https://devzone.nordicsemi.com/thread/446032?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2023 10:41:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c57cd878-6eae-426a-ae75-21fd9dfa087f</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Mike&lt;/p&gt;
&lt;p&gt;Could you try manually copying over the common folder in&amp;nbsp;v2.2.0\modules\hal\nordic\nrfx\samples\src\nrfx_saadc? I&amp;#39;ve seen others having similar issues where the common folder isn&amp;#39;t being copied over by NCS for some reason.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>