play_mp3_control编译失败

dengbq
Posts: 38
Joined: Thu Mar 31, 2022 8:45 am

play_mp3_control编译失败

Postby dengbq » Thu Mar 31, 2022 8:50 am

硬件:ESP32
IDF版本 :V4.4
idf menuconfig使用缺省值
ADF使用今天刚下的git 代码。
编译mp3_control失败,报如下错误:

audio_recorder.dir/recorder_sr.c.obj -c D:/deng/esp32/esp-adf-master/components/audio_recorder/recorder_sr.c
D:/deng/esp32/esp-adf-master/components/audio_recorder/recorder_sr.c:39:10: fatal error: esp_afe_sr_models.h: No such file or directory
#include "esp_afe_sr_models.h"
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

D:\deng\work\test\adf_examples\get-started\play_mp3_control>idf.py build

是库有问题,还是配置有错?

dengbq
Posts: 38
Joined: Thu Mar 31, 2022 8:45 am

Re: play_mp3_control编译失败

Postby dengbq » Thu Mar 31, 2022 11:37 am

重新下载adf v2.4,使用git submodule update --init --recursive的那种,再编译可以了。

ESP_HengYC
Posts: 184
Joined: Fri Dec 15, 2017 2:45 am

Re: play_mp3_control编译失败

Postby ESP_HengYC » Wed Apr 20, 2022 3:14 am

dengbq wrote:
Thu Mar 31, 2022 11:37 am
重新下载adf v2.4,使用git submodule update --init --recursive的那种,再编译可以了。
是的, 你的编译报错是没有拉取 完整 esp-sr submodules,拉取完整就可以成功编译了。

Who is online

Users browsing this forum: No registered users and 12 guests