<?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>open nRF connect SDK project failed.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75457/open-nrf-connect-sdk-project-failed</link><description>Hello. 
 I am trying the SEGGER Embedded studio&amp;#39;s open nRF connect SDK project, but it fails with an error like the one in the image. How can I make it succeed? 
 
 
 SEGGER Embedded studio is installed with ToolChainManager. 
 Also, I found &amp;quot;CMakeError</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 May 2021 11:10:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75457/open-nrf-connect-sdk-project-failed" /><item><title>RE: open nRF connect SDK project failed.</title><link>https://devzone.nordicsemi.com/thread/312337?ContentTypeID=1</link><pubDate>Fri, 28 May 2021 11:10:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ffda850-ca57-4413-9e68-7ae36578bf73</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you tried installing any of the other versions of NCS to see if you get the same error?&lt;/p&gt;
&lt;p&gt;There might be something in your path in the system environment variables causing this. Could you check if you have Python in your path in the system environment variables, and see if removing this fixes the problem?&lt;/p&gt;
&lt;p&gt;You can also try completely uninstalling and removing nRF Connect for Desktop and the apps installed through there, then reinstalling it again. Make sure you also remove the &amp;quot;nrfconnect&amp;quot; and &amp;quot;nRF Connect&amp;quot; folders in AppData before reinstalling. You will most likely find them in C:/Users/&amp;lt;user_name&amp;gt;/AppData/Roaming.&lt;/p&gt;
&lt;p&gt;You can also install NCS manually by following&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/nrf/gs_installing.html"&gt;this guide&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: open nRF connect SDK project failed.</title><link>https://devzone.nordicsemi.com/thread/312306?ContentTypeID=1</link><pubDate>Fri, 28 May 2021 08:42:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78242a60-1d6c-46ca-b729-f397e8ebbcfc</guid><dc:creator>Y.Hirano</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for doing the research.&lt;/p&gt;
&lt;p&gt;My PC is Windows 10.&lt;br /&gt;Initially I installed SES by mistake, following the deprecated Getting Started Assistant instructions.&lt;br /&gt;Then, the build did not work, so I performed a reinstallation.&lt;br /&gt;This time, after deleting the old ncs folder, I used Toolchain Manager to install NCS v1.5.1 and SES.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: open nRF connect SDK project failed.</title><link>https://devzone.nordicsemi.com/thread/312029?ContentTypeID=1</link><pubDate>Thu, 27 May 2021 10:18:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9718ae1f-3af3-4dce-aa5c-4daa938bc411</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tried comparing the output of your log with what I get when opening the same project for the same board, and from what I can see, it seems like it does not add the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/nrf/samples/spm/README.html"&gt;Secure Partition Manager&lt;/a&gt;&amp;nbsp;(SPM) in your project. The SPM is necessary in applications where you are to communicate with the modem, and it should be automatically added if you select nrf9160dk_nrf9160&lt;strong&gt;ns&amp;nbsp;&lt;/strong&gt;as build target (with ns at the end for non-secure). However, it does not seem to do so in your case.&lt;/p&gt;
&lt;p&gt;I have been trying to change the settings related to SPM in menuconfig to see if I could reproduce the issue, but I was unable to get an error. However, it is strange that you are getting the error in multiple projects, as the configurations set in menuconfig should be for that specific project. So for example changes made in the Asset Tracker should not affect the Hello World sample.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You said earlier that you have tried to uninstall and reinstall SES. Did you only do this with SES, or with the whole NCS v1.5.1 installation? You can try remove the whole installation and reinstall it, to get a clean version of NCS v1.5.1.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: open nRF connect SDK project failed.</title><link>https://devzone.nordicsemi.com/thread/311893?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 16:18:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cf55aa3-a597-47da-a61a-5d55d21026ad</guid><dc:creator>Y.Hirano</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for doing the research.&lt;br /&gt;I have checked the three points you gave me.&lt;/p&gt;
&lt;p&gt;・Nothing was specified in the Extra CMake Build Options.&lt;/p&gt;
&lt;p&gt;・SES environment variables were correct.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1780.capture4.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;・Creating a project with nRF Connect Toolchain Version as NONE failed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1881.capture3.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: open nRF connect SDK project failed.</title><link>https://devzone.nordicsemi.com/thread/311708?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 09:46:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0817fd2f-d1ee-44e1-b289-e98f7db84619</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for uploading!&lt;/p&gt;
&lt;p&gt;Unfortunately, it does not seem like the log contains more information about the error, as it only says cmake failed, and not why. Since it fails so early, it is a good chance the problem is related to your path or environment variables in some way. I have some things you can try, please let me know if any of them solves your problem:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make sure the&amp;nbsp;&lt;strong&gt;Extra CMake Build Options&lt;/strong&gt; field is empty when you open the project. You can see this field by selecting Extended Settings, next to Clean Build Directory.&lt;/li&gt;
&lt;li&gt;Make sure your environment variables are set correctly in SES.&amp;nbsp;In SES go to&amp;nbsp;&lt;span&gt;Tools -&amp;gt; Options -&amp;gt; nRF Connect, and make sure the paths are as follows:&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;GNU ARM Embedded Toolchain Directory:&lt;/strong&gt;&amp;nbsp;C:\ncs\v1.5.1\toolchain\opt&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Zephyr Base:&lt;/strong&gt;&amp;nbsp;C:\ncs\v1.5.1\zephyr&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If you have anything in&amp;nbsp;&lt;strong&gt;Additional CMake Options&lt;/strong&gt;&amp;nbsp;remove it.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If any of the other fields under&amp;nbsp;&lt;strong&gt;Executables&amp;nbsp;&lt;/strong&gt;has something, try removing that as well&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Try selecting&amp;nbsp;&lt;strong&gt;nRF Connect Toolchain Version&amp;nbsp;&lt;/strong&gt;as &amp;quot;NONE (Use SES settings / environment PATH)&amp;quot; when opening the project. In order to do this, you must make sure that the environment variables are correct, as above.&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Marte&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: open nRF connect SDK project failed.</title><link>https://devzone.nordicsemi.com/thread/311577?ContentTypeID=1</link><pubDate>Tue, 25 May 2021 16:21:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:517baa70-c3bd-4db2-92ee-f46696f0f661</guid><dc:creator>Y.Hirano</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;SES is opened from the Open IDE button.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This problem occurs not only with Asset Tracker, but also with another sample code. The code has not been changed from the sample code.&lt;/p&gt;
&lt;p&gt;The hello world project failed to create.&lt;br /&gt;I have uploaded the capture of the failure and the error output.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/5076.capture2.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1805.error.txt"&gt;devzone.nordicsemi.com/.../1805.error.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;By the way,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I used to be able to create a project in SES, but after changing the settings in menuconfig, I can&amp;#39;t create a project anymore. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Since then, this problem has continued to occur even after reinstalling SES.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Thank you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: open nRF connect SDK project failed.</title><link>https://devzone.nordicsemi.com/thread/311484?ContentTypeID=1</link><pubDate>Tue, 25 May 2021 13:23:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:412e380c-b15d-428d-ae28-c3912d052e11</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you open SES with the &lt;strong&gt;Open IDE&lt;/strong&gt; button in Toolchain Manager, or from somewhere else? If you install NCS with the Toolchain Manager, you must open it from there as well.&lt;/p&gt;
&lt;p&gt;Have you made any changes to the project or NCS? Does this happen with multiple projects or only the Asset Tracker?&lt;/p&gt;
&lt;p&gt;The output in SES should give you more information about the error. After getting the error, can you copy the output from SES and either attach it here as a .txt file or insert it with&amp;nbsp;&lt;strong&gt;Insert &amp;gt; Code&lt;/strong&gt;? You can find the output in the output terminal of SES, make sure you have selected&amp;nbsp;&lt;strong&gt;&lt;/strong&gt;to show&amp;nbsp;&lt;strong&gt;Transcript&amp;nbsp;&lt;/strong&gt;and&amp;nbsp;&lt;strong&gt;Output&lt;/strong&gt; as shown below:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/420x300/__key/communityserver-discussions-components-files/4/ses_5F00_transcript_5F00_output.png" /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>