#include #include int main(int argc, char **argv) { int load_init_files = 1; // we want the festival init files loaded void *h_estools, *h_estbase, *h_Festival, *h_eststring; h_estbase = dlopen("libestbase.so.1.2.96", RTLD_NOW | RTLD_GLOBAL ); h_estools = dlopen("libestools.so.1.2.96", RTLD_NOW | RTLD_GLOBAL ); h_eststring = dlopen("libeststring.so.1.2.96", RTLD_NOW | RTLD_GLOBAL ); h_Festival = dlopen("Festival.so.1.96", RTLD_NOW | RTLD_GLOBAL ); festival_initialize(load_init_files, FESTIVAL_HEAP_SIZE); // Say simple file festival_say_text("This is a test"); festival_wait_for_spooler(); return 0; }