m5stack-avatar
m5stack-avatar copied to clipboard
The compiler doesn't recognize AquesTalkTTS sources
Describe the bug The compiler doesn't recognize AquesTalkTTS sources in this library then fails to compile
To Reproduce Steps to reproduce the behavior:
- setup aquestalk_esp32 library except copying AquesTalkTTS sources
- 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
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