<?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>Compiling GitHub examples</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17058/compiling-github-examples</link><description>Hi!, 
 I&amp;#39;m trying to compile GitHub examples, for example this github.com/.../nrf51-ble-tutorial-service 
 I cloned it into nRF5_SDK_12.1.0_0d23e2a/examples/peripheral. But I get a compilation error. 
 javi@PC:~/Development/Nordic/nRF5_SDK_12.1.0_0d23e2a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Oct 2016 12:38:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17058/compiling-github-examples" /><item><title>RE: Compiling GitHub examples</title><link>https://devzone.nordicsemi.com/thread/65433?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 12:38:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b55e38f2-9b6c-456a-a6f4-92e175954dc0</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You will have to edit all the other include paths and soruce file paths in the makefile to match the new location. Remove &lt;code&gt;/nrf51-ble-tutorial-service/SDK 11.0.0/&lt;/code&gt; from your path (move the inner nrf5-ble-tutorial-service folder into ble_peripherals) and try again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling GitHub examples</title><link>https://devzone.nordicsemi.com/thread/65432?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 12:30:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb6d1cb7-5661-4fb4-8ebb-a3e03374091f</guid><dc:creator>Javier</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the reply,&lt;/p&gt;
&lt;p&gt;I just try now with nRF5_SDK_11.0.0_89a8197 but I get the same error.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;javi@PC:~/Development/Nordic/nRF5_SDK_11.0.0_89a8197/examples/ble_peripheral/nrf51-ble-tutorial-service/SDK 11.0.0/nrf5-ble-tutorial-service/pca10028/s130/armgcc$ make
rm -rf _build
echo  Makefile
Makefile
mkdir _build
make: *** No hay ninguna regla para construir el objetivo &amp;#39;_build/app_button.o&amp;#39;, necesario para &amp;#39;nrf51422_xxac_s130&amp;#39;.  Alto.
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling GitHub examples</title><link>https://devzone.nordicsemi.com/thread/65431?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 12:24:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b15709d6-2b5e-4d02-bc76-5b7a3322072c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The GitHub example is written for SDK 11 and will not work with SDK 12.1 without being rewritten. Some of the module APIs in SDK have changed between version 11 and 12 and some modules have been added/deprecated. See the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/index.html?cp=4_0_0_0"&gt;SDK 12.1 Introduction page&lt;/a&gt; on the infocenter for details about changes.&lt;/p&gt;
&lt;p&gt;SDK 12 also use a different method of &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/sdk_config.html?cp=4_0_0_1_6"&gt;configuring the modules&lt;/a&gt; used in each example. This might be the main reason for your error appearing.&lt;/p&gt;
&lt;p&gt;If you just want to learn the basics in the tutorials, it is no problem using SDK 11. You can then implement the functionality in your SDK 12 application afterwards.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>