Xinyuan-LilyGO / TTGO_TWatch_Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

esp_vad.h: No such file or directory

robgerpin opened this issue · comments

Error compiling Factory demo example code:

Compilation error: esp_vad.h: No such file or directory

#include <esp_vad.h>

What is the library dependency?

Same issue here. Please comment

Please update esp32_core to the latest, this is the built-in function of esp
image

Thanks. Funny enough, switching to 2.0.5 solved it for me (previously 2.0.12)

esp-sr exists on the master branch, but I don't know why it was removed in the release version. I will mark the version

https://github.com/espressif/arduino-esp32/tree/master/tools/sdk/esp32s3/include

I don't understand why esp-sr has been removed after 2.0.9. Please use version 2.0.9 and I will investigate later.

commented

So I didn't test 2.0.9, but I had this error with .12, so rolled back. For my fellow googlers, here's the snippet to add to your platformio.ini file to do so fo 2.0.6 which does fix this issue (too - if someone can try 2.0.9 and report that would be much appreciated):

platform_packages =
    platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git@2.0.6

So I didn't test 2.0.9, but I had this error with .12, so rolled back. For my fellow googlers, here's the snippet to add to your platformio.ini file to do so fo 2.0.6 which does fix this issue (too - if someone can try 2.0.9 and report that would be much appreciated):

platform_packages =
    platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git@2.0.6

I am having the same esp_vad.h issue, but when I tried this quoted fix it threw me an exception like so:

PackageException: Package version 3.0.0+sha.6f7a1ca doesn't satisfy requirements 2.0.9 based on PackageMetadata <type=tool name=framework-arduinoespressif32 version=3.0.0+sha.6f7a1ca spec={'owner': 'platformio', 'id': None, 'name': 'framework-arduinoespressif32', 'requirements': '2.0.9', 'uri': 'git+https://github.com/espressif/arduino-esp32.git'}

Hi, I have the same problem. If you reduced it to the proposed version, it compiles, but does not record the voice. In the Arduino IDE 2.014 version, they do not include the esp_vad.h library. I tried adding it, pasting it, and couldn't get it to work.