<?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 have MAX17043 c and cpp library how to include it in the new project file in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68729/i-have-max17043-c-and-cpp-library-how-to-include-it-in-the-new-project-file-in-segger-embedded-studio</link><description>I have MAX17043 c and cpp library how to include it in the new project file in Segger Embedded Studio. Whenever i try to create my own project and try to compile it gives me error even for nrf.h library not found. 
 But it works fine in SDK Examples and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Nov 2020 16:38:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68729/i-have-max17043-c-and-cpp-library-how-to-include-it-in-the-new-project-file-in-segger-embedded-studio" /><item><title>RE: I have MAX17043 c and cpp library how to include it in the new project file in Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/281894?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2020 16:38:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58cb5a42-d170-4f14-854d-be0d4764d1a7</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What SDK and SDK version are you using?&lt;/p&gt;
&lt;p&gt;Usually it is best to start with an example, when you start a new project. If you use the nRF5 SDK then the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.2%2Fnrf51_getting_started.html"&gt;Getting Started&lt;/a&gt; section of the documentation is a good place to start.&lt;/p&gt;
&lt;p&gt;For include files, you need to add the .c files to the project, and use #include directives for the header (.h) files in the .c files where needed. You also must add the directories for the .h files to the &amp;quot;Prjoect&amp;quot; menu -&amp;gt; &amp;quot;Options&amp;quot; menu item -&amp;gt; &amp;quot;Code&amp;quot; category -&amp;gt; &amp;quot;Preprocessor&amp;quot; subcategory -&amp;gt; &amp;quot;User Include Directories&amp;quot; settings. (Chose &amp;quot;Common&amp;quot; in the drop-down box at the top-left of the Options window.)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>