<?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>Run Cmake fails often in Segger Embedded Studio for same Project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82630/run-cmake-fails-often-in-segger-embedded-studio-for-same-project</link><description>Hello, 
 first I have to say that I&amp;#39;m new with nRF5340, Segger Embedded Studio and Cmake. 
 I have a working project with CMakeList.txt. So I include it into Segger Embedded Studio (SES) through File / Open nRF Connect SDK Project. After selecting the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Dec 2021 13:24:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82630/run-cmake-fails-often-in-segger-embedded-studio-for-same-project" /><item><title>RE: Run Cmake fails often in Segger Embedded Studio for same Project</title><link>https://devzone.nordicsemi.com/thread/343656?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 13:24:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07cd9af8-5e8b-4aa5-a66e-2d4af79acc1c</guid><dc:creator>ErwinCes</dc:creator><description>&lt;p&gt;I changed to a different browser (now edge) as with firefox a logout was not possible. It ended in an endless weblink loop. Now with the new browswer.&lt;/p&gt;
&lt;p&gt;I have to say, that I haven&amp;#39;t seen this error since two days anymore. So maybe we close this issue. For my other problems I will create different tickets.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run Cmake fails often in Segger Embedded Studio for same Project</title><link>https://devzone.nordicsemi.com/thread/343261?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 16:46:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:655bdb93-ce28-475c-aead-632c7745dbb4</guid><dc:creator>Didrik Rokhaug</dc:creator><description>[quote user="ErwinCes"]My observation was: I create the project new, it then compiles and then I press CMake in the run Menu. And this CMake then fails.[/quote]
&lt;p&gt;That is strange. I tried to reproduce it, but wasn&amp;#39;t able.&lt;/p&gt;
&lt;p&gt;Do you get the error when using unmodified (other than moving them) samples?&lt;/p&gt;
&lt;p&gt;Where do you move them from, and where do you move them to?&lt;/p&gt;
&lt;p&gt;Do you open SES from the Toolchain Manager?&lt;/p&gt;
&lt;p&gt;Do you see the same error if you build with West on the command line?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run Cmake fails often in Segger Embedded Studio for same Project</title><link>https://devzone.nordicsemi.com/thread/343096?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 09:52:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfdbcfb6-638a-4488-a0d0-6b0793c650a0</guid><dc:creator>ErwinCes</dc:creator><description>&lt;p&gt;That makes sense, but doesn&amp;#39;t work when I re-run CMake without having anything changed. My observation was: I create the project new, it then compiles and then I press CMake in the run Menu. And this CMake then fails.&lt;/p&gt;
&lt;p&gt;Strange.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Run Cmake fails often in Segger Embedded Studio for same Project</title><link>https://devzone.nordicsemi.com/thread/343089?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 09:33:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67f5e7f9-4587-4105-9255-00c686085cfd</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When you re-run CMake, it will still use some cached information from earlier builds, including file paths.&lt;/p&gt;
&lt;p&gt;Therefore, when you move the project to a new location, you need to do a&amp;nbsp;&lt;em&gt;pristine&lt;/em&gt; build. You can do that by selecting the &amp;quot;Clean&amp;nbsp;build directory&amp;quot; checkbox, or by deleting the build folder manually (or selecting a new one).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>