fatal error: no such file or directory

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
yenchen
Employee
Employee
First reply posted 5 sign-ins First question asked

Hi,

I am trying to build an application that includes CapSense , BLE, and FreeRTOS using PSoC 6 BLE pioneer kit (CY8CKIT-062-BLE) with an E-Ink display.

I believe that I have included all the libraries needed but still got error message:

GeneratedSource/cycfg_ble.h:38:10: fatal error: cy_ble_event_handler.h: No such file or directory

Below are some sample codes that I've referred to:

- CAPSENSE Buttons and Slider FreeRTOS

- Bluetooth LE Find Me

- emWin E-Ink FreeRTOS

Makefile components list:

COMPONENTS=EMWIN_OSNTS FREERTOS BLESS_HOST BLESS_CONTROLLER

Library Manager screenshot is attached.

0 Likes
1 Solution
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

1:  It is recommended that you can add the different function one by one. 

2:  Please make sure the file "cy_ble_event_handler.h" should be generated.

3:  Which MTB version do you use? If it is not the latest V3.0, please download from Infineon Website.

4:  Please download the latest Bluetooth_LE_Findme which use the "app_bt_management_callback" instead of "cy_ble_event_handler.h".

5: Please open the library manager and click "update".

 

View solution in original post

0 Likes
2 Replies
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

1:  It is recommended that you can add the different function one by one. 

2:  Please make sure the file "cy_ble_event_handler.h" should be generated.

3:  Which MTB version do you use? If it is not the latest V3.0, please download from Infineon Website.

4:  Please download the latest Bluetooth_LE_Findme which use the "app_bt_management_callback" instead of "cy_ble_event_handler.h".

5: Please open the library manager and click "update".

 

0 Likes

I was using v3.0 and didn't notice that there is a later version of findme sample code.

Problem solved by using app_bt_management_callback.

Thanks.

0 Likes