<?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>How to add library to a SDK example, in Segger embedded studio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30904/how-to-add-library-to-a-sdk-example-in-segger-embedded-studio</link><description>Hi DevZone, 
 
 I am trying to add a 3rd party library (consisting one c file and 2 header files) into a SDK example in Segger embedded studio. 
 I don&amp;#39;t know the exact procedures to do this, what I did is 
 1) add the c file into the nRF_Libraries by</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Aug 2025 17:30:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30904/how-to-add-library-to-a-sdk-example-in-segger-embedded-studio" /><item><title>RE: How to add library to a SDK example, in Segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/545427?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 17:30:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce3e3598-da01-419c-bbad-09a2024acf73</guid><dc:creator>Ernestas Gruodis</dc:creator><description>&lt;p&gt;Hi, a bit late reply :) , but I had the same problem also. Solved by adding root folder of xxx.c file&amp;#39;s folder (arranged properly folders in &amp;quot;User Include Directories&amp;quot;). Then all .h files were included below xxx.c file at explorer &amp;quot;xxx.c -&amp;gt; Dependencies&amp;quot; folder. Then, to resolve xxx.h not found error at xxx.c, added xxx.h file at &amp;quot;Preprocessor -&amp;gt; Include Files&amp;quot; (have chosen &amp;quot;Private Configurations -&amp;gt; Common).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add library to a SDK example, in Segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/163003?ContentTypeID=1</link><pubDate>Wed, 26 Dec 2018 10:25:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f343624-478c-4d49-9b9b-0c1b043a05a3</guid><dc:creator>asantos</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;I have followed your suggestion and the library was included properly (the project builds). However I cannot see the files in my project explorer, why is that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add library to a SDK example, in Segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/122600?ContentTypeID=1</link><pubDate>Fri, 02 Mar 2018 11:29:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7de112d-066e-41a2-8fda-bdaadba03f4c</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;You are in the options for &amp;#39;main.c&amp;#39;. I forgot to mention that you have to cl&lt;span&gt;ick the project in the file explorer in SES(Project &amp;#39;spi_pca10056&amp;#39;), and then enter Project -&amp;gt; Edit Options.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add library to a SDK example, in Segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/122524?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 23:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f82fb47b-45ad-4126-92ee-89089aba7893</guid><dc:creator>Ree Wang</dc:creator><description>&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;I had followed your guidance. I added(typing) the library path into the list. However, the library file doesn&amp;#39;t shown in the project Items window in SES IDE. I reload the project, still cannot find these files. Could you see what is wrong with my operations?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1519948430172v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add library to a SDK example, in Segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/122420?ContentTypeID=1</link><pubDate>Thu, 01 Mar 2018 10:14:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a90a7588-dc4b-4e11-9a21-4007bf32ae81</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In SES, select Project -&amp;gt; Edit Options -&amp;gt; in the top left corner change from &amp;quot;Debug&amp;quot; to &amp;quot;Common&amp;quot; and then select the Preprocessor tab. Then you will see &amp;quot;User Include Directories&amp;quot;, press the button on the right and include the path to your header files in the list.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-8deb874fe5d043149ef5f52b1270b8d5/SES.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>