<?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>west build using wrong toolchain.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112544/west-build-using-wrong-toolchain</link><description>i have two toolchains inside my ncs directory. i am trying to build my main program using west build and the west exe that i am using is the one from the right toolchain. for some reason, it uses the other toolchain. 
 
 does it have something to do with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Jul 2024 11:28:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112544/west-build-using-wrong-toolchain" /><item><title>RE: west build using wrong toolchain.</title><link>https://devzone.nordicsemi.com/thread/491571?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2024 11:28:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e90e8145-abd8-4064-b7f7-da29c28b6ec4</guid><dc:creator>shlomots</dc:creator><description>&lt;p&gt;i tried to build again, this time witout the other toolchain inside the ncs folder.&lt;br /&gt;this time it found the correct toolchain.&lt;br /&gt;it seems that west is looking for the newest toolchain it can find inside the ncd folder, regardless of where the west executable actually is.&lt;br /&gt;thnaks anyway!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: west build using wrong toolchain.</title><link>https://devzone.nordicsemi.com/thread/491526?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2024 09:06:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f9aa261-f3c4-4bc2-9512-44a38f25ac51</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;I assume that there are some path variables that haven&amp;#39;t been set correctly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try building it with either the terminal that comes with the extension inside VSC, or the terminal you can find in the drop-down menu for a given version of NCS in Toolchain Manager? Those should have all the right path variables set.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: west build using wrong toolchain.</title><link>https://devzone.nordicsemi.com/thread/491271?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 09:36:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14a7defa-53cd-4dd2-938c-1fde025776e7</guid><dc:creator>shlomots</dc:creator><description>[quote userid="103347" url="~/f/nordic-q-a/112544/west-build-using-wrong-toolchain/491266"]Has this been an issue for long[/quote]
&lt;p&gt;hey, not for long.&lt;br /&gt;i am a junior ncs developer so i started working with the newest version of ncs with the tutorial and crashcourses on the devacademy. recently started working on a project&amp;nbsp;requiring an&amp;nbsp;older version of ncs.&lt;br /&gt;i installed the&amp;nbsp;&lt;span&gt;suitable&lt;/span&gt; toolchain from the toolchain manager on nrf for desktop and the command line tools. since then i am trying to&amp;nbsp;build the project, a built it a week ago but now I noticed it is using the wrong toolchain in the process.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/112544/west-build-using-wrong-toolchain/491266"]Are you building it from VSC[/quote]
&lt;p&gt;I am using a git bash ming terminal from VSC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: west build using wrong toolchain.</title><link>https://devzone.nordicsemi.com/thread/491266?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 09:15:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e620933-c641-4435-9009-bdebbc78b26e</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Has this been an issue for long, or has there been any recent changes to anything that made this happen?&lt;/p&gt;
&lt;p&gt;Are you building it from VSC, or just a cmd terminal you&amp;#39;ve opened yourself?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>