cloned this repository with git clone https://github.com/LilyGO/TTGO-T9-RGB_LED-WM8978.git (latest commit ac508f0191031794072ed5a39dfc69080d6fbd03);
tried to compile bt_speaker with the following actions:
cd TTGO-T9-RGB_LED-WM8978/bt_speaker
make # used defaults anywhere
Got error message:
TTGO-T9-RGB_LED-WM8978/bt_speaker/components/bt_speaker/./bt_speaker.c:90:9: error: implicit declaration of function 'esp_a2d_register_data_callback' [-Werror=implicit-function-declaration]
esp_a2d_register_data_callback(bt_app_a2d_data_cb);
^
cc1: some warnings being treated as errors
/home/user/esp/esp-idf/make/component_wrapper.mk:273: recipe for target 'bt_speaker.o' failed
make[1]: *** [bt_speaker.o] Error 1
/home/user/esp/esp-idf/make/project.mk:457: recipe for target 'component-bt_speaker-build' failed
Note: I'm using ESP-IDF on fully updated 64-bit Ubuntu 16.04 LTS.
Which version of toolchain should I use to get it compiled successfully?
What I did:
git clone https://github.com/LilyGO/TTGO-T9-RGB_LED-WM8978.git
(latest commit ac508f0191031794072ed5a39dfc69080d6fbd03);Got error message:
Note: I'm using ESP-IDF on fully updated 64-bit Ubuntu 16.04 LTS.
Which version of toolchain should I use to get it compiled successfully?
However other project (https://github.com/HsaSheep/esp-wroom-32_a2dp_sink) compiles normally with this toolchain.