<?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>IAR ERROR [Li005]</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47078/iar-error-li005</link><description>Hi, 
 I am trying to integrate some ble code into my project but it keeps giving me errors like: 
 Error[Li005]: no definition for &amp;quot;ble_advertising_on_sys_evt&amp;quot; [referenced from C:\Projects\advanced-shared-channel-reference-design\app\np_hub\iar\ReleaseBlaze</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 May 2019 17:49:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47078/iar-error-li005" /><item><title>RE: IAR ERROR [Li005]</title><link>https://devzone.nordicsemi.com/thread/186031?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 17:49:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98006e69-fa1c-46fb-8035-9515cb6ea9fc</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;In 15.3.0 that function is depreciated ..&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void ble_advertising_on_sys_evt(uint32_t evt_id, void * p_context)
{
    // Changes to advertising and fds components have made this function obsolete.
    // This function will be removed in a future major release.
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR ERROR [Li005]</title><link>https://devzone.nordicsemi.com/thread/186026?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 17:25:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46ee773b-93de-4cef-9f0b-d5c26dd7bffa</guid><dc:creator>Logan Zhang</dc:creator><description>&lt;p&gt;Hi, thanks for your reply, I have checked the paths and they seem correct&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR ERROR [Li005]</title><link>https://devzone.nordicsemi.com/thread/186024?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 17:08:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3d40657-760d-427a-8468-d8240d29a4f1</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Not sure it will help but the usual issue is incorrect include paths. Project options C++ has something like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;$PROJ_DIR$\..\..\..\config
$PROJ_DIR$\..\..\..\..\..\..\components
$PROJ_DIR$\..\..\..\..\..\..\components\boards
$PROJ_DIR$\..\..\..\..\..\..\components\drivers_nrf\nrf_soc_nosd
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\atomic
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\balloc
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\bsp
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\button
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\delay
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\experimental_section_vars
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\gfx
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\log
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\log\src
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\memobj
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\mutex
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\pwr_mgmt
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\queue
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\ringbuf
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\scheduler
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\spi_mngr
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\strerror
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\timer
$PROJ_DIR$\..\..\..\..\..\..\components\libraries\util
$PROJ_DIR$\..\..\..\..\..\..\components\toolchain\cmsis\include
$PROJ_DIR$\..\..\..
$PROJ_DIR$\..\..\..\..\..\..\external\fprintf
$PROJ_DIR$\..\..\..\..\..\..\external\segger_rtt
$PROJ_DIR$\..\..\..\..\..\..\external\thedotfactory_fonts
$PROJ_DIR$\..\..\..\..\..\..\integration\nrfx
$PROJ_DIR$\..\..\..\..\..\..\integration\nrfx\legacy
$PROJ_DIR$\..\..\..\..\..\..\modules\nrfx
$PROJ_DIR$\..\..\..\..\..\..\modules\nrfx\drivers\include
$PROJ_DIR$\..\..\..\..\..\..\modules\nrfx\hal
$PROJ_DIR$\..\..\..\..\..\..\modules\nrfx\mdk
$PROJ_DIR$\..\config
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Often the include path for a specific file is simply missing, or if the project is in (or has been copied to) a different relative path the number of &amp;quot;..\&amp;quot; has to be adjusted for nearly &lt;em&gt;every&lt;/em&gt; include. It&amp;#39;s a pain, often easier by closing the project and manually editing the &lt;em&gt;.ewp&lt;/em&gt; IAR project file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>