m5stack-avatar icon indicating copy to clipboard operation
m5stack-avatar copied to clipboard

The compiler doesn't recognize AquesTalkTTS sources

Open meganetaaan opened this issue 6 years ago • 1 comments

Describe the bug The compiler doesn't recognize AquesTalkTTS sources in this library then fails to compile

To Reproduce Steps to reproduce the behavior:

  1. setup aquestalk_esp32 library except copying AquesTalkTTS sources
  2. compile

Expected behavior You don't need to copy AquesTalkTTS files. They are included in this library.

Logs Compile error appears.

Environment (please complete the following information):

  • OS: Linuxsources
  • IDE: VSCode with PlatformIO
  • Versions
  • This library(M5Stack-Avatar)
  • M5Stack

meganetaaan avatar Oct 09 '18 13:10 meganetaaan

Though this is not the best solution, you can compile AquestTalkTTS files in your library with the following setting in platformio.ini.

[env:m5stack-core-with-aquestalk]
build_flags = 
    -I.pio/libdeps/${PIOENV}/M5Stack-Avatar/lib/AquesTalkTTS # added
    -laquestalk
    -Llib/aquestalk-esp32/src/esp32 
lib_extra_dirs = .pio/libdeps/${PIOENV}/M5Stack-Avatar/lib # added
lib_deps =
    M5Stack
    M5Stack-Avatar
    AquesTalkTTS # added

3110 avatar Jan 12 '22 08:01 3110