asr 例程编译不通过

cyangesp32
Posts: 2
Joined: Fri May 29, 2020 7:02 am

asr 例程编译不通过

Postby cyangesp32 » Fri May 29, 2020 7:09 am

您好:我用esp32-LyraT 开放板测试播放MP3,声音识别 vad 都能编译并运行,可是 asr 例程编译不通过 在最后的文件。
环境ADF 2.0 iDF 3.3 python3.7.7 请问怎么调试呢 这是编译截图

d:/esp/espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/esp/espadf/esp-adf/components/esp-sr/lib\libwakenet.a(mfcc_runner_straight.o): in function `run_logfbank':
/home/sunxiangyu/esp/esp_sr_lib/components/wakenet/mfcc_runner_straight.c:70: undefined reference to `csf_preemphasis_step'
d:/esp/espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/sunxiangyu/esp/esp_sr_lib/components/wakenet/mfcc_runner_straight.c:72: undefined reference to `csf_logfbank_HTK_step'
d:/esp/espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/esp/espadf/esp-adf/components/esp-sr/lib\libwakenet.a(mfcc_runner_straight.o): in function `run':
/home/sunxiangyu/esp/esp_sr_lib/components/wakenet/mfcc_runner_straight.c:60: undefined reference to `csf_mfcc_HTK'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

cyangesp32
Posts: 2
Joined: Fri May 29, 2020 7:02 am

Re: asr 例程编译不通过

Postby cyangesp32 » Fri May 29, 2020 10:42 am

IDF 一定要用3.3版本。ADF 2.0版本 设置系统变量
编译能通过,烧完总是重启动。后续看看怎么修改配置呢?

Jalakamkiran
Posts: 5
Joined: Fri Mar 26, 2021 7:18 am

Re: asr 例程编译不通过

Postby Jalakamkiran » Mon Jul 26, 2021 7:28 am

嘿,即使在执行 git submodule update 命令后,我也遇到了同样的错误。你能指导一下现在该怎么做吗?

Jalakamkiran
Posts: 5
Joined: Fri Mar 26, 2021 7:18 am

Re: asr 例程编译不通过

Postby Jalakamkiran » Mon Jul 26, 2021 7:30 am

您可以再重新 gi t submodule update --init 后再尝试一下

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

Re: asr 例程编译不通过

Postby ESP_HengYC » Wed Aug 04, 2021 2:56 am

是的, 似乎是 submodule 没有拉取完整, 在 adf 和 idf 目录下 使用命令: gi t submodule update --init 。

Who is online

Users browsing this forum: No registered users and 27 guests