esp32-snippets BLE build problem
Posted: Wed Sep 20, 2017 8:44 pm
I'm trying to build one of the Kolban's BLE examples, but have hit a build issue I can't figure out. I'm using eclipse and getting:
"fatal error: esp_gattc_api.h: No such file or directory"
I get the same error if I run make from a terminal.
I've successfully built the cpp3 c++ app, I've used menuconfig to enable bluetooth and bluedroid. I created a components folder with the snippets files. I checked project properties paths and symbols and I have an entry for: ${IDF_PATH}/components/bt/bluedroid/api/include which is where the file is. I checked the folder and the file is there.
Exploring further, I deleted the components folder with the snippets stuff and put "#include <esp_gattc_api.h>" into helloworld_main.cpp and I get the same error. Also it appears that trying to include any .h under bluedroid will fail, but "bt.h" in bt/include compiles fine.
Alan
"fatal error: esp_gattc_api.h: No such file or directory"
I get the same error if I run make from a terminal.
I've successfully built the cpp3 c++ app, I've used menuconfig to enable bluetooth and bluedroid. I created a components folder with the snippets files. I checked project properties paths and symbols and I have an entry for: ${IDF_PATH}/components/bt/bluedroid/api/include which is where the file is. I checked the folder and the file is there.
Exploring further, I deleted the components folder with the snippets stuff and put "#include <esp_gattc_api.h>" into helloworld_main.cpp and I get the same error. Also it appears that trying to include any .h under bluedroid will fail, but "bt.h" in bt/include compiles fine.
Alan