<?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>Adding a new library in a Keil project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13383/adding-a-new-library-in-a-keil-project</link><description>Hi!I&amp;#39;m having some problems in adding a new library to my project (sdk 11.0.0,s130), I want to add ble_nus.h. I follow this instructions &amp;quot; devzone.nordicsemi.com/.../&amp;quot; but it still doesn&amp;#39;t work.
someone can help me, please?thank you!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Apr 2016 12:25:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13383/adding-a-new-library-in-a-keil-project" /><item><title>RE: Adding a new library in a Keil project</title><link>https://devzone.nordicsemi.com/thread/51065?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 12:25:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e23dbd3-7af6-4785-89b9-7e7993d9d152</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;That&amp;#39;s the location for the Keil-supplied System headers - you should not be putting your own files there!&lt;/p&gt;
&lt;p&gt;Instead, you should tell the compiler where to find your headers in your own folders - that&amp;#39;s what the &lt;strong&gt;Include Paths&lt;/strong&gt; are for in your Project options:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.keil.com/support/man/docs/uv4/uv4_dg_adscc.htm"&gt;www.keil.com/.../uv4_dg_adscc.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Again, this has nothing specifically to do with Nordic, and isn&amp;#39;t even peculiar to Keil - it is a standard feature of all &amp;#39;C&amp;#39; toolchains!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a new library in a Keil project</title><link>https://devzone.nordicsemi.com/thread/51066?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 12:18:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:916a1ccb-be16-4c7b-bb1c-49b3f5a1ab93</guid><dc:creator>Francesca</dc:creator><description>&lt;p&gt;Thanks to all of you, now it&amp;#39;s working!I had to add the header in C:\Keil_v5\ARM\ARMCC\include&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a new library in a Keil project</title><link>https://devzone.nordicsemi.com/thread/51064?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 11:09:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:daba87df-51da-4a45-882d-b7c10bac0d72</guid><dc:creator>Artucas</dc:creator><description>&lt;p&gt;Are you sure you have included the correct path for the compiler to ble_nus.h lib? Do you know how to add a new path?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a new library in a Keil project</title><link>https://devzone.nordicsemi.com/thread/51062?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 10:42:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57d4f6ae-a86f-48de-a2b0-51a7672de6ba</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;So it can&amp;#39;t open the file &amp;quot;ble_nus.h&amp;quot;.&lt;/p&gt;
&lt;p&gt;That must be either because the file doesn&amp;#39;t exist at all or, if it does exist, it is not in a location where the compiler is looking.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a new library in a Keil project</title><link>https://devzone.nordicsemi.com/thread/51061?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 10:22:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:363e2155-80fa-4e66-8ad9-abda9a562235</guid><dc:creator>Francesca</dc:creator><description>&lt;p&gt;*** Using Compiler &amp;#39;V5.06 update 1 (build 61)&amp;#39;, folder: &amp;#39;C:\Keil_v5\ARM\ARMCC\Bin&amp;#39;
Build target &amp;#39;nrf51422_xxac_s130&amp;#39;
compiling ble_nus.c...
compiling main.c...
......\main.c(41): error:  #5: cannot open source input file &amp;quot;ble_nus.h&amp;quot;: No such file or directory
#include &amp;quot;ble_nus.h&amp;quot;
......\main.c: 0 warnings, 1 error
&amp;quot;._build\nrf51422_xxac_s130.axf&amp;quot; - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:03&lt;/p&gt;
&lt;p&gt;This the error, I have also updated the screenshot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a new library in a Keil project</title><link>https://devzone.nordicsemi.com/thread/51060?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 10:19:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c22426e9-ef5b-4115-8f6d-497ced69fedf</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;The scrrenshot is too small/unclear to read.&lt;/p&gt;
&lt;p&gt;What error(s), exactly, are you getting?&lt;/p&gt;
&lt;p&gt;Note that you can copy &amp;amp; paste the text from the uVision build output window...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a new library in a Keil project</title><link>https://devzone.nordicsemi.com/thread/51059?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 10:05:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24a7a59d-2b6c-4a8d-b627-1f65e1efcf67</guid><dc:creator>Francesca</dc:creator><description>&lt;p&gt;I have added the screenshot of what I see, there is the .c file in the nrf_ble folder, but in the code there is still the error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a new library in a Keil project</title><link>https://devzone.nordicsemi.com/thread/51063?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 10:01:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5b7353f-ef8e-4c74-a776-6fa2723987e9</guid><dc:creator>Artucas</dc:creator><description>&lt;p&gt;The instructions prvoided in the link which you were reading are very good and clear. There is probably no more informative answer than that. What do you mean &amp;quot;but it still doesn&amp;#39;t work&amp;quot; ? What error you are seeing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>