compiling ESP32 Web Radio from MrBuddyCasino
Posted: Wed Jan 17, 2018 8:17 am
HI there,
I am trying to compile ESP32_MP3_Decoder from MrBuddyCasino. However, having the nunerious trial without any lucks. I encountered the following errors. Please help. I am not convinced that I did it correctly. Hence, would like to see how others did it.
1) with the "/home/esp32/esp/esp-idf/components/bt/include/bt.h:2:2: warning: #warning "This header is deprecated, please use functions defined in esp_bt.h instead." [-Wcpp]
#warning "This header is deprecated, please use functions defined in esp_bt.h instead."
my resolution -- I simply changed bt.h to esp_bt.h
2)
CC build/bt_speaker/bt_app_av.o
In file included from /home/esp32/esp/ESP32_MP3_Decoder/components/bt_speaker/./bt_app_av.c:21:0:
/home/esp32/esp/ESP32_MP3_Decoder/components/bt_speaker/./bt_app_av.c: In function 'bt_av_hdl_avrc_evt':
/home/esp32/esp/ESP32_MP3_Decoder/components/bt_speaker/./bt_app_av.c:143:66: error: 'struct avrc_ct_conn_stat_param' has no member named 'feat_mask'
rc->conn_stat.connected, rc->conn_stat.feat_mask, bda[0], bda[1], bda[2], bda[3],
^
/home/esp32/esp/esp-idf/components/log/include/esp_log.h:244:168: note: in definition of macro 'ESP_LOGI'
INFO) { esp_log_write(ESP_LOG_INFO, tag, LOG_FORMAT(I, format), esp_log_timestamp(), tag, ##__VA_ARGS__
^
/home/esp32/esp/esp-idf/make/component_wrapper.mk:273: recipe for target 'bt_app_av.o' failed
make[1]: *** [bt_app_av.o] Error 1
/home/esp32/esp/esp-idf/make/project.mk:450: recipe for target 'component-bt_speaker-build' failed
make: *** [component-bt_speaker-build] Error 2
Hmm.. checked the definition of struct avrc_ct_conn_stat_param; truly it has of members of conn_stat.connected. Any ideas how to resolve it?
I am trying to compile ESP32_MP3_Decoder from MrBuddyCasino. However, having the nunerious trial without any lucks. I encountered the following errors. Please help. I am not convinced that I did it correctly. Hence, would like to see how others did it.
1) with the "/home/esp32/esp/esp-idf/components/bt/include/bt.h:2:2: warning: #warning "This header is deprecated, please use functions defined in esp_bt.h instead." [-Wcpp]
#warning "This header is deprecated, please use functions defined in esp_bt.h instead."
my resolution -- I simply changed bt.h to esp_bt.h
2)
CC build/bt_speaker/bt_app_av.o
In file included from /home/esp32/esp/ESP32_MP3_Decoder/components/bt_speaker/./bt_app_av.c:21:0:
/home/esp32/esp/ESP32_MP3_Decoder/components/bt_speaker/./bt_app_av.c: In function 'bt_av_hdl_avrc_evt':
/home/esp32/esp/ESP32_MP3_Decoder/components/bt_speaker/./bt_app_av.c:143:66: error: 'struct avrc_ct_conn_stat_param' has no member named 'feat_mask'
rc->conn_stat.connected, rc->conn_stat.feat_mask, bda[0], bda[1], bda[2], bda[3],
^
/home/esp32/esp/esp-idf/components/log/include/esp_log.h:244:168: note: in definition of macro 'ESP_LOGI'
INFO) { esp_log_write(ESP_LOG_INFO, tag, LOG_FORMAT(I, format), esp_log_timestamp(), tag, ##__VA_ARGS__
^
/home/esp32/esp/esp-idf/make/component_wrapper.mk:273: recipe for target 'bt_app_av.o' failed
make[1]: *** [bt_app_av.o] Error 1
/home/esp32/esp/esp-idf/make/project.mk:450: recipe for target 'component-bt_speaker-build' failed
make: *** [component-bt_speaker-build] Error 2
Hmm.. checked the definition of struct avrc_ct_conn_stat_param; truly it has of members of conn_stat.connected. Any ideas how to resolve it?