alibaba / alibaba/AliOS-Things
使用aos-tools编译tflite_micro_speech_demo失败
- Dominant language
- C
- Stars
- 4.6k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
### 联系方式
wangsc217@qq.com
### 您发现了什么问题
在尝试使用aos-tools编译tflite_micro_speech_demo例程时失败,提示缺少`echo_canceller.h`,`speech_2mic_ns6.h`,`ext_heap.h`等头文件。目标硬件是haaseduk1。请问是什么原因,如何解决?
运行环境: `aos-tools 1.1.43`
固件版本: `aos release 3.3.0`
### 分支
rel_3.3.0 (Main)
### 请选择您发现此问题的解决方案名称
tflite_micro_speech_demo
### 日志
```shell
CXX out/tflite_micro_speech_demo/micro_speech/audio_provider.o
CXX out/tflite_micro_speech_demo/micro_speech/micro_features/model.o
micro_speech/audio_provider.cc:33:10: fatal error: echo_canceller.h: No such file or directory
33 | #include "echo_canceller.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
```
Contributor guide
Research direction
Start with micro_speech/audio_provider.cc and reproduce the tflite_micro_speech_demo build using aos-tools 1.1.43 on haaseduk1 and rel_3.3.0. Check the reported echo_canceller.h, speech_2mic_ns6.h, and ext_heap.h headers; done means the example compiles without the missing-header error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system, embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100