Flite tts demo fails to run
问题 I have recently been trying to use the Flite text-to-speech system (2.0) in a project of mine and when I call flite_text_to_speech() the program exits with this message: VAL: tried to access lexicon in -1 type val I made a small test program based on the code provided in the Flite documentation found here: /* File: test.cpp */ #include <flite.h> int main(int argc, char **argv) { cst_voice *v; flite_init(); v = new_voice(); flite_text_to_speech("This is a test",v,"play"); return 0; } This