<?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>Cannot build application_update example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80435/cannot-build-application_update-example</link><description>Hi community 
 I&amp;#39;m trying to build the nrf9160/http_update/application_update example but it keeps failing ( https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/http_update/application_update/README.html ) 
 Then I&amp;#39;ve added</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Oct 2021 08:03:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80435/cannot-build-application_update-example" /><item><title>RE: Cannot build application_update example</title><link>https://devzone.nordicsemi.com/thread/333190?ContentTypeID=1</link><pubDate>Fri, 08 Oct 2021 08:03:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2828f7a6-7c16-43ce-849e-b7e54af22feb</guid><dc:creator>zhaw-moss</dc:creator><description>&lt;p&gt;I see. It works now. I had to copy that common folder to the parent directory. Thanks!&lt;/p&gt;
&lt;p&gt;Inside the samples of the SDK the parent folder of the &lt;span style="font-family:courier new, courier;"&gt;application_update&lt;/span&gt; folder contains that &lt;span style="font-family:courier new, courier;"&gt;common&lt;/span&gt; folder.&lt;/p&gt;
&lt;p&gt;But if I just &amp;quot;Create a new application from sample...&amp;quot; via the Welcome Page this is not the case, since the plugin only copies the actual sample with the CMake that contains the hardcoded &amp;quot;&lt;span style="font-family:courier new, courier;"&gt;../common/src/update.c&lt;/span&gt;&amp;quot; instead that it would copy the common folder too or refer correctly to the http_update folder inside the SDK. (Also doesn&amp;#39;t do it correctly if I choose &amp;quot;Workspace&amp;quot; where it downloads the complete SDK.)&lt;br /&gt;&lt;br /&gt;So what I did is that I just copied both the &lt;span style="font-family:courier new, courier;"&gt;application_update&lt;/span&gt; and &lt;span style="font-family:courier new, courier;"&gt;common&lt;/span&gt; folders and then chose &amp;quot;Add an existing application to workspace...&amp;quot;.&lt;br /&gt;&lt;br /&gt;So I must admit I could have come up with that solution by myself but still its not very handy how that plugin works in this case.&lt;br /&gt;&lt;br /&gt;Thanks for your help anyway!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot build application_update example</title><link>https://devzone.nordicsemi.com/thread/333166?ContentTypeID=1</link><pubDate>Fri, 08 Oct 2021 06:45:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa574734-aee1-46b1-b781-b1edfb895584</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It cannot find the common files:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CMake Error at C:\Users\moss\ncs\v1.7.0\zephyr\cmake\extensions.cmake:418 (add_library):
  Cannot find source file:

    ../common/src/update.c&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The http_update samples require this common folder to be present:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/master/samples/nrf9160/http_update/common"&gt;https://github.com/nrfconnect/sdk-nrf/tree/master/samples/nrf9160/http_update/common&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>