espressif / esp-who

Face detection and recognition framework
Other
1.67k stars 466 forks source link

[esp32-s3] 无法编译任何一个示例 (AIV-498) #201

Closed Beanv587 closed 2 years ago

Beanv587 commented 2 years ago

IDF: Release v4.4

问题重现步骤: 1.进入任意一个示例目录,比如/examples/human_face_detection/lcd 2.设置编译目标: idf.py set-target esp32s3 3.编译: idf.py build

linux(ubuntu)、windows(win10) 都存在无法编译的问题.如果采用默认esp32是可以编译的(不执行idf.py set-target esp32s3)

linux截图如下: esp_1

windows截图如下: 1

如果把lcd文件夹复制到别的目录下编译就不会触发上图的错误.但是会提示找不到_ansi.h以及bsd/sys/queus.h.最终编译失败

22

用VS Code看了下具体的错误信息: 001 002

stanley-sz commented 2 years ago

我也是遇到同样的问题,楼主解决了没呢?谢谢!

stanley-sz commented 2 years ago

已解决,在esp-who/components/esp-sr 中 git checkout master

yehangyang commented 2 years ago

你好@Beanv587, 请尝试在仓库的根目录下 git submodule update --init,看这样能否解决问题。

Beanv587 commented 2 years ago

已解决,在esp-who/components/esp-sr 中 git checkout master

@stanley-sz 谢谢,按你的方案我也成功编译了.看来还是有点坑...

@yehangyang git submodule update --init执行后没用,因为本身全部都是最新的

ESP-YHY commented 2 years ago

@Beanv587 感谢,我会尽快更新 esp-sr 的commit号,再次感谢发现问题。