<?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>i can&amp;#39;t compile examples from sdk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10963/i-can-t-compile-examples-from-sdk</link><description>i wantto compile &amp;#39;&amp;#39;ble_app_hrs_c&amp;#39;&amp;#39; from sdk
but it always show up likes 
 &amp;quot; C:\Program Files\CodeBlocks\MinGW\include\SDK 7.2\examples\ble_central\ble_app_hrs_c\main.c|19|fatal error: nordic_common.h: No such file or directory|
||=== Build failed:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Jan 2016 15:31:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10963/i-can-t-compile-examples-from-sdk" /><item><title>RE: i can't compile examples from sdk</title><link>https://devzone.nordicsemi.com/thread/41009?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2016 15:31:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ad363f6-0656-49b8-8b9d-9e288a2df02f</guid><dc:creator>natersoz</dc:creator><description>&lt;ol&gt;
&lt;li&gt;Your include paths are incorrect. MinGW should not be part of anything involving Nordic SDK.&lt;/li&gt;
&lt;li&gt;There is a Nordic bug in the example you&amp;#39;re trying to build.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;It is fixed by adding&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#include &amp;quot;app_uart.h&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;To the file ./examples/ble_central/ble_app_hrs_c/main.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i can't compile examples from sdk</title><link>https://devzone.nordicsemi.com/thread/41007?ContentTypeID=1</link><pubDate>Tue, 22 Dec 2015 08:49:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50c07527-64b6-4fb8-94fd-2afc83a44eb5</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Your project is not setup correctly for Code::Blocks. Have you tried using Keil instead? We provide projects for Keil MDK, so that you do not need to setup each project manually, as you&amp;#39;re doing now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i can't compile examples from sdk</title><link>https://devzone.nordicsemi.com/thread/41008?ContentTypeID=1</link><pubDate>Tue, 22 Dec 2015 01:17:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03abd40f-9449-4d3d-bd9e-5b6852fb9c0f</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;ok
i find out each hex file and add the path to &amp;quot;settings-&amp;gt;compiler-&amp;gt; directoriet-&amp;gt;compiler&amp;quot;
it may work
until  running  to &amp;quot;boards.h &amp;quot;
then show up error &amp;quot;board is not definde &amp;quot;
what is it going on?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i can't compile examples from sdk</title><link>https://devzone.nordicsemi.com/thread/41006?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2015 14:01:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3e9a831-8af7-4787-9c64-db729a8ce9ec</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;It looks like your include paths are not setup properly.
The nordic_common.h file should be located in this dir:
$SDK_PATH\components\libraries\util&lt;/p&gt;
&lt;p&gt;Could you try adding this to your include path?&lt;/p&gt;
&lt;p&gt;Cheers,
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i can't compile examples from sdk</title><link>https://devzone.nordicsemi.com/thread/41005?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2015 05:38:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d0c8e3b-32b6-4ca1-8b87-e5f7060ee77c</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;yes
but when i try to build the program
it can&amp;#39;t find  a lot hex file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i can't compile examples from sdk</title><link>https://devzone.nordicsemi.com/thread/41004?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2015 05:34:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6afae0c5-4bab-42ef-b9e2-1b652e7b5eb1</guid><dc:creator>bernerd</dc:creator><description>&lt;p&gt;is there a  &amp;#39;main.c&amp;#39; file in the folder of project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>