<?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>nRF5 SDK build error with GCC under windows</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37212/nrf5-sdk-build-error-with-gcc-under-windows</link><description>Hello, 
 I am using SDK5 for my code that builds successfully under Linux, but not under windows. 
 The error occurs in the SDK, not in the application. I am wondering what modifications are needed to migrate from Linux to Windows, apart from editing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Aug 2018 22:01:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37212/nrf5-sdk-build-error-with-gcc-under-windows" /><item><title>RE: nRF5 SDK build error with GCC under windows</title><link>https://devzone.nordicsemi.com/thread/146184?ContentTypeID=1</link><pubDate>Tue, 28 Aug 2018 22:01:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25447c6d-3682-4556-aa8f-65e29cd8208a</guid><dc:creator>RezaNZ</dc:creator><description>&lt;p&gt;Thanks, I&amp;#39;ll try it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK build error with GCC under windows</title><link>https://devzone.nordicsemi.com/thread/146050?ContentTypeID=1</link><pubDate>Tue, 28 Aug 2018 08:27:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02689100-4d35-42c7-9419-1a5e66548467</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Have you tried replacing&amp;nbsp;$(CURDIR) variable with an absolute path? I get the same error when trying to use this in the Makefiles in Windows.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK build error with GCC under windows</title><link>https://devzone.nordicsemi.com/thread/145203?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 02:48:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5817d385-5842-4460-b41a-0344e355a205</guid><dc:creator>RezaNZ</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3343.makefile.txt"&gt;devzone.nordicsemi.com/.../3343.makefile.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/project_5F00_mak.txt"&gt;devzone.nordicsemi.com/.../project_5F00_mak.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK build error with GCC under windows</title><link>https://devzone.nordicsemi.com/thread/145198?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 00:54:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f3cd59a-59f1-4ffd-ada9-5b37207f7d45</guid><dc:creator>RezaNZ</dc:creator><description>&lt;p&gt;Sorry, I should have mentioned that the file had been modified to hide the list of source files. The line in question is at line 111 now.&lt;/p&gt;
&lt;p&gt;Also, in regard to your next question,&amp;nbsp;please go through these new attachments:&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK build error with GCC under windows</title><link>https://devzone.nordicsemi.com/thread/145060?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2018 08:56:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f90fb86-1a8c-4a6b-bc1b-72f5f842b3a4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Your makefile is shorter than line 162. Did you change it? Where have you defined the variables&amp;nbsp;PROJ_DIR and&amp;nbsp;VARIANT on line 3?&lt;/p&gt;
&lt;p&gt;&lt;code&gt;OUTPUT_DIRECTORY := $(PROJ_DIR)/obj/$(VARIANT)&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK build error with GCC under windows</title><link>https://devzone.nordicsemi.com/thread/145002?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 23:42:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:768a4f56-c20a-4b41-8591-3663d3ff4780</guid><dc:creator>RezaNZ</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0434.Makefile.common"&gt;devzone.nordicsemi.com/.../0434.Makefile.common&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/makefile_2D00_mak.txt"&gt;devzone.nordicsemi.com/.../makefile_2D00_mak.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Makefile_2D00_windows.txt"&gt;devzone.nordicsemi.com/.../Makefile_2D00_windows.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here are my Makefiles. For some reason, makefile.mak and MakeFile.wondows fail to upload, so I renamed them to makefile-mak.txt and makefile-windows.txt to be able to upload them.&lt;/p&gt;
&lt;p&gt;Thank you very much for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK build error with GCC under windows</title><link>https://devzone.nordicsemi.com/thread/143995?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 14:14:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61aa789a-2cb1-4e4e-bd17-7f6e0c03b5b3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You can upload files in your comments from the &amp;#39;Insert&amp;#39; menu. If you do not want the file to be shared in public, please let me know. I can then convert the case into a private case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK build error with GCC under windows</title><link>https://devzone.nordicsemi.com/thread/143284?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 02:55:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef5512a7-31e9-4a00-8467-cd7e5db6ee80</guid><dc:creator>RezaNZ</dc:creator><description>&lt;p&gt;We have our own makefile that uses the SDK&amp;#39;s makefiles, specifically MakeFile.common (SDK dir\components\toolchain\gcc\), where the error occurs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am not sure about Linux-specific characters. I only considered / and \. Do you possibly have any reference that can forward me?&lt;/p&gt;
&lt;p&gt;I can upload my MakeFile, if it helps and if you please tell me&amp;nbsp;how to upload it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 SDK build error with GCC under windows</title><link>https://devzone.nordicsemi.com/thread/143203?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 11:40:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5967cb45-1f5b-40f0-a996-3b601c42e4de</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you create your own makefile instead of using the ones we provide with the SDK? This seems like more of a GCC question than a Nordic question, but if you upload your makefil I can see if i can help you out.&lt;/p&gt;
&lt;p&gt;Have you checked the files for linux specific characters, or made sure there is no whitespaces, etc. that should not be there?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>