festvox / festival

Festival Speech Synthesis System
Other
376 stars 58 forks source link

Linking to festival in gcc #49

Closed josharmenta closed 3 years ago

josharmenta commented 3 years ago

Having problems including init.scm via the API.

When running the compiled binary on a machine without festival:

$ ./a.out Initialization file /usr/local/lib/festival/lib/init.scm not found SIOD ERROR: unbound variable : SynthText SIOD ERROR: unbound variable : utt.features SIOD ERROR: unbound variable : utt2

When trying to include init.scm in gcc: ld: warning: ignoring file /usr/local/lib/festival/lib/init.scm, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B 0x3B )

Any suggestions?