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版本 设置系统变量
编译能通过,烧完总是重启动。后续看看怎么修改配置呢?

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests