<?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>Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30053/unable-to-build-project-nrf5_sdk_14-2-0_17b948a-from-windows-cmd</link><description>Hello, I have followed the tutorial to run the examples from SDK14.2.0 for my nRF52840 Dev board on eclipse. I have everything set and updated including the
components&amp;gt;toolchain&amp;gt;gcc&amp;gt;makefile.windows for my SDK with: 
 GNU_INSTALL_ROOT := C:\Program</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Jul 2022 08:56:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30053/unable-to-build-project-nrf5_sdk_14-2-0_17b948a-from-windows-cmd" /><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/377798?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2022 08:56:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2404c581-c81b-4ec7-9bb1-426a2200ff6d</guid><dc:creator>STE</dc:creator><description>&lt;p&gt;Thanks it worked for me too, now I&amp;#39;m using the 9.3.1 toolchain version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/284877?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2020 18:02:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6507875-7c87-4f18-8b21-49c714a01473</guid><dc:creator>embedd_1</dc:creator><description>&lt;p&gt;I too had this problem. I am using version&amp;nbsp;10.2.1 of GNU arm toolchain. It worked after these two changes in the Makefile.windows file.&amp;nbsp;&lt;br /&gt;1) Having &amp;#39;/&amp;#39; instead of &amp;#39;\&amp;quot; in the path.&amp;nbsp;&lt;br /&gt;2) Having /bin/ at the end.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;This is how my Makefile.windows file look like.&amp;nbsp;&lt;br /&gt;GNU_INSTALL_ROOT := C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2020-q4-major/bin/&lt;br /&gt;GNU_VERSION := 10.2.1&lt;br /&gt;GNU_PREFIX := arm-none-eabi&lt;br /&gt;&lt;br /&gt;NOTE: I am not sure how installing &amp;quot;&lt;span&gt;the&amp;nbsp;&lt;/span&gt;&lt;a href="http://gnuarmeclipse.github.io/windows-build-tools/"&gt;GNU ARM Eclipse plug-in project&lt;/a&gt;&lt;span&gt;.&amp;quot; affects the error. Because I don&amp;#39;t remember my error disappeared after I reinstalled this plug in or not.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/231873?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 12:13:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96565b08-b6b3-41de-af48-41713197fd43</guid><dc:creator>Mark Nolan</dc:creator><description>&lt;p&gt;This worked for me, now to deal with the endless other compilation errors:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;GNU_INSTALL_ROOT := &amp;quot;C:/Program Files (x86)/GNU Tools ARM Embedded/9 2019-q4-major/bin/&amp;quot;
GNU_VERSION := 9.2.1
GNU_PREFIX := arm-none-eabi&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/222290?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2019 10:20:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a79934e-a22e-404e-820d-124f751bb968</guid><dc:creator>hitesh poshia</dc:creator><description>&lt;p&gt;changing &amp;quot;/&amp;quot; at the end worked for me , thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/153737?ContentTypeID=1</link><pubDate>Sun, 21 Oct 2018 23:09:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6b4f5d1-6810-4a65-91d6-56a6851639e4</guid><dc:creator>benkokes</dc:creator><description>&lt;p&gt;I am +1 for the solution by seggles.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am using SDK15.2.0 and I have my GNU tools installed in:&amp;nbsp;C:\Program Files (x86)\GNU Tools ARM Embedded\7 2018-q2u.&lt;/p&gt;
&lt;p&gt;( because of other attempts to fix, I truncated the &amp;#39;7 2018-q2-update&amp;#39; to the shown &amp;#39;7 2018-q2u&amp;#39;. I doubt this changes anything).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I changed the makefile.windows as suggested by seggles and it fixed how the (x86) was being parsed, which was the most likely root of my problem.&amp;nbsp; I didnt have any need of modifying my makefile.common file either.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/149117?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 19:56:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52c6daf9-8f40-4875-826b-8ede641dcad1</guid><dc:creator>NordicHam</dc:creator><description>&lt;p&gt;I installed GNU Tools version 7 in Windows 7 32-bit here:&lt;/p&gt;
&lt;p&gt;C:\Program Files\GNU Tools Arm Embedded\7 2018-q2-update&lt;/p&gt;
&lt;p&gt;I then installed nRF5_SDK_12.3.0_d7731ad here:&lt;/p&gt;
&lt;p&gt;C:\BLE\external\nRF5_SDK_12.3.0&lt;/p&gt;
&lt;p&gt;In the following folder:&lt;/p&gt;
&lt;p&gt;C:\BLE\external\nRF5_SDK_12.3.0\components\toolchain\gcc&lt;/p&gt;
&lt;p&gt;I modified Makefile.windows as follows:&lt;/p&gt;
&lt;p&gt;GNU_INSTALL_ROOT := C:\Program Files\GNU Tools Arm Embedded\7 2018-q2-update&lt;br /&gt;GNU_VERSION := 7.3.1&lt;br /&gt;GNU_PREFIX := arm-none-eabi&lt;br /&gt;SHELL=cmd.exe&lt;/p&gt;
&lt;p&gt;When I run &amp;#39;make&amp;#39; in:&lt;/p&gt;
&lt;p&gt;C:\BLE\external\nRF5_SDK_12.3.0\examples\ble_peripheral\ble_app_eddystone\pca10040\s132\armgcc&lt;/p&gt;
&lt;p&gt;it successfully executes to completion, and nrf52832_xxaa.hex is created.&lt;/p&gt;
&lt;p&gt;I then installed nRF5_SDK_15.1.0_a8c0c4d here:&lt;/p&gt;
&lt;p&gt;C:\BLE\external\nRF5_SDK_15.1.0&lt;/p&gt;
&lt;p&gt;When I configure the exact same Makefile.windows here:&lt;/p&gt;
&lt;p&gt;C:\BLE\external\nRF5_SDK_15.1.0\examples\ble_peripheral\ble_app_eddystone\pca10040\s132\armgcc&lt;/p&gt;
&lt;p&gt;the make command fails with:&lt;/p&gt;
&lt;p&gt;C:\BLE\external\nRF5_SDK_15.1.0\examples\ble_peripheral\ble_app_eddystone\pca10040\s132\armgcc&amp;gt;make&lt;br /&gt;process_begin: CreateProcess(NULL, &amp;quot;C:\Program Files\GNU Tools Arm Embedded\7 2018-q2-updatearm-none-eabi-gcc&amp;quot; --version, ...) failed.&lt;br /&gt;Cannot find: &amp;#39;C:\Program Files\GNU Tools Arm Embedded\7 2018-q2-updatearm-none-eabi-gcc&amp;#39;.&lt;br /&gt;Please set values in: &amp;quot;C:/BLE/external/nRF5_SDK_15.1.0/components/toolchain/gcc/Makefile.windows&amp;quot;&lt;br /&gt;according to the actual configuration of your system.&lt;br /&gt;../../../../../../components/toolchain/gcc/Makefile.common:129: *** Cannot continue. Stop.&lt;/p&gt;
&lt;p&gt;C:\BLE\external\nRF5_SDK_15.1.0\examples\ble_peripheral\ble_app_eddystone\pca10040\s132\armgcc&amp;gt;&lt;/p&gt;
&lt;p&gt;Why does the same makefile.windows works fine with nRF5_SDK_12.3.0_d7731ad but fails with nRF5_SDK_15.1.0_a8c0c4d?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/139967?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 21:48:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:deacb3ba-5b7f-4e11-ba88-3cb3aac037b8</guid><dc:creator>seggles</dc:creator><description>&lt;p&gt;Please note the default path for the toolchain is &amp;quot;&lt;span&gt;C:\Program Files (x86)\GNU Tools Arm Embedded\7 2018-q2-update&amp;quot; which is what I was referring to, but just in case that was clear..&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/139966?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 21:44:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adee402b-0cd9-49f7-8179-58d1b8e06117</guid><dc:creator>seggles</dc:creator><description>&lt;p&gt;I too had this exact problem with the current version of the GNU ARM Embedded toolchain (Version 7-2018-q2-update *as of this posting*)&lt;br /&gt;&lt;br /&gt;I solved the issue by manually modifying the path of the toolchain to the following:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;quot;C:\Program Files (x86)\GNU Tools Arm Embedded\7 2018-q2&amp;quot;&lt;br /&gt;&lt;br /&gt;It appears that whatever portion of Makefile.common, does not appropriately parse the &amp;quot;-update&amp;quot; portion of the path.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;My current Makefile.windows is the following:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;PROGFILES=C:/Program Files (x86)
GNU_INSTALL_ROOT := $(PROGFILES)/GNU Tools Arm Embedded/7 2018-q2/bin/
GNU_VERSION := 7.3.1
GNU_PREFIX := arm-none-eabi&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Verified working output within an nRF52 example:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:\Nordic\nRF5_SDK_15.0.0_a53641a\external\micro-ecc\nrf52hf_armgcc\armgcc&amp;gt;make
mkdir _build
cd _build &amp;amp;&amp;amp; mkdir micro_ecc_lib
Compiling file: uECC.c
Creating library: ../../nrf52hf_armgcc/armgcc/micro_ecc_lib_nrf52.a
C:/Program Files (x86)/GNU Tools Arm Embedded/7 2018-q2/bin/arm-none-eabi-ar: creating ../../nrf52hf_armgcc/armgcc/micro_ecc_lib_nrf52.a
Done&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hopefully this helps you, I was also struggling with this forever...&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/125346?ContentTypeID=1</link><pubDate>Wed, 21 Mar 2018 12:25:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c58478db-ec16-4fd0-979c-0dfe9cc97dc8</guid><dc:creator>Var</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think you might have solved the problem already but here is what i did anyway. I too encountered the same problem and I solved it by changing the GNU tools for ARM version to 4.9 as suggested by one member here and in the Makefile.windows I added the path C:/Program Files (x86)/GNU Tools ARM Embedded/4.9 2015q3/bin/&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You need to give &amp;quot;/&amp;quot; at the end. I think this worked for me.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/122029?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 04:00:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f47707a9-c24a-462e-8b8b-ed75617ac15c</guid><dc:creator>Ozil 11</dc:creator><description>&lt;ul&gt;
&lt;li&gt;Can you show me your make.windows and your GNU tools version ?&lt;/li&gt;
&lt;li&gt;What error does it show after you use ARM GNU 4.9.3 ?&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/122023?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 01:48:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:644d650f-c385-4aed-abd1-0bf41fd69c18</guid><dc:creator>Akhil Bhargav Josyabhatla</dc:creator><description>&lt;p&gt;Tried doing that. No result, Matt.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/122022?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 01:47:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfbb8a3b-ef57-40be-a65b-dc97eabe541b</guid><dc:creator>Akhil Bhargav Josyabhatla</dc:creator><description>&lt;p&gt;I have tried that too. Unfortunately, that didn&amp;#39;t help me, Ozil.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/122021?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 01:47:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f45a241-a46f-451c-9bad-4294768a7a72</guid><dc:creator>Akhil Bhargav Josyabhatla</dc:creator><description>&lt;p&gt;I have tried all the suggestions, but I haven&amp;#39;t solved the problem yet.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/121747?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2018 05:00:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a13b3482-228b-4183-a9a6-389e1123394a</guid><dc:creator>Ozil 11</dc:creator><description>&lt;p&gt;I was having the same problem. Downgrade your GNU Tools ARM Embedded to 4.9.3 as given in the tutorial of devzone. It worked for me. I know this is not the solution but it gets you going if you have deadlines to meet lol.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/121173?ContentTypeID=1</link><pubDate>Sun, 18 Feb 2018 10:40:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:642e3ee7-bd6a-4d48-bd8b-8250fbc32424</guid><dc:creator>cd.barahona</dc:creator><description>&lt;p&gt;Hi Akhil! I have the same problem.&lt;/p&gt;
&lt;p&gt;Do you solve it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/119350?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2018 11:41:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f0bcef6-1232-430e-b445-4ba2baf6ccbf</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Also make sure you are pointing to the directory where the binary files are located. This is normally inside the bin directory inside the GNU_INSTALL_ROOT path you have posted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd</title><link>https://devzone.nordicsemi.com/thread/119349?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2018 02:04:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a485bde-bda7-4fb6-9da0-56f65a9281ae</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Here&amp;#39;s the one in my windows environment:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;GNU_INSTALL_ROOT := C:/Program Files (x86)/GNU Tools ARM Embedded/5.4 2016q3
GNU_VERSION := 5.4.1
GNU_PREFIX := arm-none-eab
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Try to change the &amp;quot;&amp;quot; to &amp;quot;/&amp;quot; in your makefile.windows to see if that helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>