<?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>Compilation error &amp;quot;ble_stack_handler_types.h&amp;quot;: No such file or directory</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15304/compilation-error-ble_stack_handler_types-h-no-such-file-or-directory</link><description>I am trying to port peer manager implemented in ble_app_gls to ble_app_uart using instructions in devzone.nordicsemi.com/.../ . I am using SDK_11 s130 on nRF51-dk. 
 I encountered the following error 
 
 ............\components\softdevice\common\softdevice_handler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 May 2017 10:04:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15304/compilation-error-ble_stack_handler_types-h-no-such-file-or-directory" /><item><title>RE: Compilation error "ble_stack_handler_types.h": No such file or directory</title><link>https://devzone.nordicsemi.com/thread/58460?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 10:04:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1eb89fb7-9d64-4025-b878-ca721d1a6df2</guid><dc:creator>RohanKadam</dc:creator><description>&lt;p&gt;Keep your project close to root directory. Project with a long path also generates this same error message.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation error "ble_stack_handler_types.h": No such file or directory</title><link>https://devzone.nordicsemi.com/thread/58459?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2017 02:14:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e4ac361-97aa-4490-be1e-7ee0801f0b4b</guid><dc:creator>Quoc Khanh</dc:creator><description>&lt;p&gt;oh my god.... this took 2 days to find out this problem.... Thank you so much. (April 2017)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation error "ble_stack_handler_types.h": No such file or directory</title><link>https://devzone.nordicsemi.com/thread/58458?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2016 01:24:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d7f1708-e0b1-4b1e-8685-2ab872ef845b</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;This tip help! After I change my long project name &amp;quot;ble_app_uart__saadc_timer_driven__scan_mode&amp;quot; to &amp;quot;ble_app_uart__saadc&amp;quot; the error &amp;quot;ble_stack_handler_types.h&amp;quot;: No such file or directory disappear ! Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation error "ble_stack_handler_types.h": No such file or directory</title><link>https://devzone.nordicsemi.com/thread/58463?ContentTypeID=1</link><pubDate>Mon, 25 Jul 2016 16:54:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:274af6b3-9cb8-411b-aea4-12dc10eb7a76</guid><dc:creator>lesley</dc:creator><description>&lt;p&gt;“Long Path Tool” is very helpful for this error !
You can use to solve this problem
thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation error "ble_stack_handler_types.h": No such file or directory</title><link>https://devzone.nordicsemi.com/thread/58457?ContentTypeID=1</link><pubDate>Mon, 25 Jul 2016 08:20:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:884264a0-ff54-4245-a5b3-e88b31d6352b</guid><dc:creator>helpme</dc:creator><description>&lt;p&gt;I discovered the cause of my problem. The name of the project was too long. Thanks to Øyvind Karlsen, I now know that this is a known issue with windows when names get too long.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation error "ble_stack_handler_types.h": No such file or directory</title><link>https://devzone.nordicsemi.com/thread/58462?ContentTypeID=1</link><pubDate>Fri, 22 Jul 2016 08:41:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1852b94e-f4a9-4d70-aded-c02c1af42502</guid><dc:creator>helpme</dc:creator><description>&lt;p&gt;Thanks. I thought I found the answer just now. I still encounter the same issue after checking that I have added the paths. Hopefully, I can find the answer later and post it here. Really puzzling.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation error "ble_stack_handler_types.h": No such file or directory</title><link>https://devzone.nordicsemi.com/thread/58461?ContentTypeID=1</link><pubDate>Fri, 22 Jul 2016 08:20:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74270d55-58ca-48a0-98cb-7550a2a50b65</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you add the path for ble_stack_handler_types.h?&lt;/p&gt;
&lt;p&gt;Add the path to the header file to the project.&lt;/p&gt;
&lt;ol start="4"&gt;
&lt;li&gt;Go to &lt;strong&gt;Projects -&amp;gt; Options for Target&lt;/strong&gt;, or click the shortcut shown below&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0743.options_5F00_for_5F00_target.png" alt="image description" /&gt;&lt;/p&gt;
&lt;ol start="5"&gt;
&lt;li&gt;
&lt;p&gt;Select the C/C++ tab and click &lt;strong&gt;...&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the window  &lt;strong&gt;Folder Setup&lt;/strong&gt;; add the path to &amp;quot;ble_stack_handler_types.h&amp;quot;, for me this is &lt;code&gt;..\..\..\..\..\..\components\softdevice\common\softdevice_handler&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/optionsforheader.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;Normally this file is included, possibly you are seeing an error because you have not added the path to peer manager, which is something like &lt;code&gt;..\..\..\..\..\..\components\ble\peer_manager&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>