<?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>Build an Application from terminal on ncs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108521/build-an-application-from-terminal-on-ncs</link><description>Hi, 
 
 I try to build my application from a .bat file but i encountered issue. 
 If i open a bash from the toolchain manager and i am going to my directory it&amp;#39;s working well. 
 
 Command used is : 
 However if i open a terminal directly from my directory</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Feb 2024 10:09:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108521/build-an-application-from-terminal-on-ncs" /><item><title>RE: Build an Application from terminal on ncs</title><link>https://devzone.nordicsemi.com/thread/470417?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2024 10:09:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58c2c791-ac89-493c-8c16-7afb87539f12</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;Thanks, it is working well now !&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build an Application from terminal on ncs</title><link>https://devzone.nordicsemi.com/thread/470196?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2024 09:47:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bc9bfb5-76d4-47be-8eff-343b5bf435fb</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;If you open up a arbitrary terminal/cmd prompt, it does not have the environmental variables setup.&lt;/p&gt;
&lt;p&gt;If you instead choose &amp;quot;Open command prompt&amp;quot; and then navigate to your project, you should be able to run west.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Another alternative is to choose &amp;quot;Generate environment script&amp;quot; and call that from your cmd.exe prompt.&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>