api/esp_bt_device.h: No such file or directory even it's included

joe@shkila.com
Posts: 6
Joined: Tue Nov 13, 2018 6:23 am

api/esp_bt_device.h: No such file or directory even it's included

Postby joe@shkila.com » Tue Jan 08, 2019 10:00 am

I'm new to ESP32
i'm trying to write a program in eclipse
i've followed the youtube link: https://www.youtube.com/watch?v=bYh2w0HzS7s&t=726s
it works good
now i wanted to add bluetooth functionality (getting the bt address) to the program
so i've included:
${IDF_PATH}/components/bt/bluedroid/api/include
${IDF_PATH}/components/bt/include

and add to the program:
#include "api/esp_bt_device.h"

and build it.
i've got an error: fatal error: api/esp_bt_device.h: No such file or directory

ive check my sdkconfig file:
CONFIG_BT_ENABLED=y
CONFIG_BLUEDROID_ENABLED=y
there are more for the config but those lines are the important once (at least this is what i understand)

inside the build folder, i've found that the
esp_bt_device.o
esp_bt_device.d

I've clean all build, and rebuild
refresh the indexer
nothing works

so what am i missing?
my OS is windows 7 64-bit
I've attached 3 images:
1. the code with the includes(complete path) and build folder
2. the Paths And Symbols that shws the includes
3. the api/include folder that shows that the esp_bt_device.h exists

Thank you
Attachments
3.png
3.png (123.4 KiB) Viewed 4123 times
2.png
2.png (90.59 KiB) Viewed 4123 times
1.png
1.png (214.6 KiB) Viewed 4123 times

chegewara
Posts: 2240
Joined: Wed Jun 14, 2017 9:00 pm

Re: api/esp_bt_device.h: No such file or directory even it's included

Postby chegewara » Tue Jan 08, 2019 12:27 pm


Who is online

Users browsing this forum: Bing [Bot], oshmykov-dev and 240 guests