<?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>Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35653/mesh-light-switch-demo-with-cmake</link><description>Hii 
 i want to test Ble mesh Light switch demo using cmake with nRF51 controller.i m facing below error. 
 
 Please suggest me ASAP. 
 Thanks, 
 Nikunj</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Jun 2018 11:48:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35653/mesh-light-switch-demo-with-cmake" /><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137427?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 11:48:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4067d38d-d57d-47a9-a2ae-c64086cc1f8b</guid><dc:creator>Jui-Chou (Rick) Chung</dc:creator><description>&lt;p&gt;Great you hear that &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: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137422?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 11:06:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:092b807e-3e54-49e3-aaac-25f014deb374</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;Hi Rick Chung&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529924729174v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thanks for support ..I have done &amp;amp; generate hex file with ninja&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137377?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 06:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c250d108-102b-44a0-aa4f-14e6fb23643e</guid><dc:creator>Jui-Chou (Rick) Chung</dc:creator><description>&lt;p&gt;Please open the command prompt, and &lt;strong&gt;do not&lt;/strong&gt; navigate to the Ninja path, type again the following commands and post the result:&lt;br /&gt;&lt;pre class="ui-code" data-mode="powershell"&gt;where ninja
ninja --version&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you still see any error, then there&amp;#39;s something wrong with your environment variable setting.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137370?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 06:43:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54777ee9-a713-4394-b9f4-64728006965a</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;yes i have restart my system every time when i change in system environment variable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137364?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 06:29:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3b2d4db-c145-464a-a5b8-e96842f0fba0</guid><dc:creator>Jui-Chou (Rick) Chung</dc:creator><description>&lt;p&gt;Have you tried to reboot your PC after changing system variable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137362?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 06:25:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73528485-bc9d-40b2-b284-aad0d54f2f28</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529907918944v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;same error found&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137360?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 06:06:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8e0b1cc-9ae3-4fdb-ae62-49abd646695f</guid><dc:creator>Jui-Chou (Rick) Chung</dc:creator><description>&lt;p&gt;Hello Nikunj,&lt;/p&gt;
&lt;p&gt;I note that in your current setting, the &amp;quot;path&amp;quot; in the system environment variable only contains with GNU ARM embedded toolchain, you should not remove all the other setting, and you should also add the path of the Ninja. The &amp;quot;path&amp;quot; in the system environment variable should look similar like&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3058.path.png"&gt;this&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137359?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 05:42:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7755292-3ec0-47b8-a27b-cda70f8ace97</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529905628206v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137358?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 05:39:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56852c70-668d-4e7d-9632-44847f008681</guid><dc:creator>Jui-Chou (Rick) Chung</dc:creator><description>&lt;p&gt;would you please show the result of the following code in the command prompt?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="powershell"&gt;where ninja&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137357?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 05:28:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b7435e2-3f00-4f09-af16-ffb582e6954f</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529904470322v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529904479664v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;i got same error i don&amp;#39;t know what is happening...!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137354?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 03:54:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91301784-84f6-4c35-b2a8-392187d25253</guid><dc:creator>Jui-Chou (Rick) Chung</dc:creator><description>&lt;p&gt;Hello Nikunji,&lt;/p&gt;
&lt;p&gt;CMake 3.11.4 and Ninja 1.8.2 should work correctly. I would assume you install multiple version Ninja in your computer.&lt;/p&gt;
&lt;p&gt;Would you please open &amp;quot;command prompt&amp;quot; and enter the following commands for checking the current Ninja version which under your environment&amp;nbsp;variable setting?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="powershell"&gt;ninja --version
where ninja&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137353?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 03:39:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bc499aa-95d9-476b-a516-f1470135d2a6</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;Hi Rick Chaung&lt;/p&gt;
&lt;p&gt;yes i have read the error log in the CMAKE.i&amp;#39;m using CMAKE 3.11.4&lt;/p&gt;
&lt;p&gt;i have tried Ninja-1.8.2 and 1.7.2 but i got an same error.. Now suggest me which version can i used..? please provide me download link for Ninja.&lt;/p&gt;
&lt;p&gt;i have download Ninja from below link.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/ninja-build/ninja/releases"&gt;https://github.com/ninja-build/ninja/releases&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137307?ContentTypeID=1</link><pubDate>Sat, 23 Jun 2018 11:46:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec3d35a1-32c5-4e11-bcc1-143f30e3968f</guid><dc:creator>Jui-Chou (Rick) Chung</dc:creator><description>&lt;p&gt;Hello Nikunji,&lt;/p&gt;
&lt;p&gt;Have you read the error log in the CMake?&lt;/p&gt;
&lt;p&gt;Would&amp;nbsp;you&amp;nbsp;try to using the latest Ninja?&lt;/p&gt;
&lt;p&gt;I would like to suggest you read every log from the tool carefully since it always provides great information which points out what should we do next.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, I would like to suggest you check &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v2.0.1%2Fmd_doc_getting_started_how_to_windows_tools.html"&gt;here&lt;/a&gt;,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137304?ContentTypeID=1</link><pubDate>Sat, 23 Jun 2018 11:29:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5b94923-75da-49b3-a536-b3fa6437e4e2</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529753311121v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137302?ContentTypeID=1</link><pubDate>Sat, 23 Jun 2018 10:46:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d780df61-0845-44d4-9fab-024fcdcc5fa5</guid><dc:creator>Jui-Chou (Rick) Chung</dc:creator><description>&lt;p&gt;No, not like that.&lt;/p&gt;
&lt;p&gt;As I show in the previous answer, please &lt;strong&gt;do not add&lt;/strong&gt; a &lt;strong&gt;new&lt;/strong&gt; environment variable, but &lt;strong&gt;modify&lt;/strong&gt; the &lt;strong&gt;&amp;quot;Path&amp;quot; in the &amp;quot;system variables&amp;quot; with adding the&amp;nbsp;toolchain path&lt;/strong&gt;,&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/system_5F00_path.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137301?ContentTypeID=1</link><pubDate>Sat, 23 Jun 2018 10:41:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec98882a-cb83-4afd-8d4e-cf27ef6254e0</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;I have added new path in environment variable&amp;nbsp; check last two images.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137300?ContentTypeID=1</link><pubDate>Sat, 23 Jun 2018 10:40:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:962722c6-911e-45e1-860a-42558133b9e4</guid><dc:creator>Jui-Chou (Rick) Chung</dc:creator><description>&lt;p&gt;Have you add the toolchain path into the environment variable &amp;quot;Path&amp;quot; like what I show in the before?&lt;/p&gt;
&lt;p&gt;Please make sure you have added it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137299?ContentTypeID=1</link><pubDate>Sat, 23 Jun 2018 10:36:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0d3e004-33bb-463a-88be-d5262b081d3e</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;Hi..&amp;nbsp;Rick Chung&lt;/p&gt;
&lt;p&gt;I have download same &lt;a style="background-color:#ffffff;border-bottom:1px solid #e5e5e5;color:#16779a;font-family:Calibri, Arial, sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;" href="https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads" rel="noopener noreferrer" target="_blank"&gt;GNU ARM Embedded Toolchain&lt;/a&gt;&amp;nbsp;which you have install&amp;nbsp;in your system but i&amp;#39;m facing same issue.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529750100878v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529750141796v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137296?ContentTypeID=1</link><pubDate>Sat, 23 Jun 2018 09:12:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8fe8140-89ed-427a-a4c2-e0011528ad9b</guid><dc:creator>Jui-Chou (Rick) Chung</dc:creator><description>&lt;p&gt;Hello Nikunj,&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t need to create a specific environment variable for cross-compiler and also Ninja.&lt;br /&gt;We should &lt;strong&gt;add&lt;/strong&gt; the paths which contains those executable files into environment&amp;nbsp;variable &amp;quot;&lt;strong&gt;Path&lt;/strong&gt;&amp;quot;.&lt;/p&gt;
&lt;p&gt;e.g.&amp;nbsp;My &amp;quot;Path&amp;quot; in the &amp;quot;System variable&amp;quot;&amp;nbsp;is like:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3058.path.png" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137295?ContentTypeID=1</link><pubDate>Sat, 23 Jun 2018 08:38:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dafc731-8aa8-45f0-855b-e02b9524df8c</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529743032723v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529743072997v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;please suggest me what can i do for solve this issue...!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137234?ContentTypeID=1</link><pubDate>Fri, 22 Jun 2018 11:00:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:175fef22-68fd-4cce-8669-c63858916905</guid><dc:creator>Jui-Chou (Rick) Chung</dc:creator><description>&lt;p&gt;Hello Nikunj,&lt;/p&gt;
&lt;p&gt;According to the log you provide, which shows you haven&amp;#39;t install Python 3, and CMake cannot find the nRF5 SDK 15. I would like to suggest you check the following &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v2.0.1%2Fmd_doc_getting_started_how_to_windows_tools.html&amp;amp;cp=4_1_0_3_0_0" rel="noopener noreferrer" target="_blank"&gt;link1&lt;/a&gt;,&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v2.0.1%2Fmd_doc_getting_started_how_to_build_cmake.html&amp;amp;cp=4_1_0_3_1_0"&gt;link2&lt;/a&gt; and &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.0.1/md_doc_getting_started_how_to_build_cmake.html?cp=4_1_0_3_1_0" rel="noopener noreferrer" target="_blank"&gt;link3&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137233?ContentTypeID=1</link><pubDate>Fri, 22 Jun 2018 10:33:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b86cf27-8c05-42b5-932e-6a4b90cda121</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529665083487v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh light switch demo with cmake.</title><link>https://devzone.nordicsemi.com/thread/137227?ContentTypeID=1</link><pubDate>Fri, 22 Jun 2018 09:52:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12789a16-ae4d-4a01-be2e-da51ac7bc073</guid><dc:creator>Jui-Chou (Rick) Chung</dc:creator><description>&lt;p&gt;Hello Nikunj,&lt;/p&gt;
&lt;p&gt;Please add the Ninja path to the windows &amp;quot;environment variable&amp;quot; and try to &amp;quot;configure&amp;quot; again.&lt;/p&gt;
&lt;p&gt;Hope this can do help :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>