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?
compiling ESP32 Web Radio from MrBuddyCasino
Re: compiling ESP32 Web Radio from MrBuddyCasino
error: 'struct avrc_ct_conn_stat_param' has no member named 'feat_mask'
This was moved
https://github.com/espressif/esp-idf/co ... 42f08d112d
So you can roll back to older idf commit or modify
This was moved
https://github.com/espressif/esp-idf/co ... 42f08d112d
So you can roll back to older idf commit or modify
-
- Posts: 263
- Joined: Sun Jun 19, 2016 12:00 am
Re: compiling ESP32 Web Radio from MrBuddyCasino
Do I hear someone being motivated to make a pull request?
-
- Posts: 263
- Joined: Sun Jun 19, 2016 12:00 am
Re: compiling ESP32 Web Radio from MrBuddyCasino
Thought so. Code is updated, please try again.
Re: compiling ESP32 Web Radio from MrBuddyCasino
Unfortunately, I still experience the same error. However, I managed to by modifying the line to the old code.
Re: compiling ESP32 Web Radio from MrBuddyCasino
Although I got it working, I think the best solution is to get the source updated accordingly. You said you have updated it, did you have the same error messages?
-
- Posts: 263
- Joined: Sun Jun 19, 2016 12:00 am
Re: compiling ESP32 Web Radio from MrBuddyCasino
The error: 'struct avrc_ct_conn_stat_param' has no member named 'feat_mask' should be fixed. Did you pull? Maybe try a "make clean" first. Also I think it would be better to move this discussion to a Github.
Re: compiling ESP32 Web Radio from MrBuddyCasino
Tried with git pull, still generating the error.
Hence, tried the following on esp-idf and ESP32_MP3_DECODER
> git fetch --all
> git reset --hard origin/master
> make clean
> make
It works.
Many thanks for those who rendered the helping hands.
Hence, tried the following on esp-idf and ESP32_MP3_DECODER
> git fetch --all
> git reset --hard origin/master
> make clean
> make
It works.
Many thanks for those who rendered the helping hands.
Who is online
Users browsing this forum: No registered users and 56 guests