kashimAstro / ofxEspeakSynth

ofxEspeakSynth addons for openframeworks synth text to speech
5 stars 1 forks source link

lib structure for espeak on osx? #2

Open danbz opened 5 years ago

danbz commented 5 years ago

I am setting up a version on OSX - can you post example of the folder/library structure for correct inclusion of espeak libs?

the osx addon looks for <espeak/speak_lib.h> but in the download from https://downloads.sourceforge.net/project/espeak/espeak/espeak-1.45/espeak-1.45.04-OSX.zip this file is in the docs folder - moving it up into a renamed espeak folder finds the header file but then I get linker errors

Undefined symbols for architecture x86_64:
  "_espeak_Synth", referenced from:
      ofxEspeakSynth::threadedFunction() in ofxEspeakSynth.o
  "_espeak_Synchronize", referenced from:
      ofxEspeakSynth::threadedFunction() in ofxEspeakSynth.o
  "_espeak_Initialize", referenced from:
      ofxEspeakSynth::setup(ofxEspeakSynth::ESParam) in ofxEspeakSynth.o
  "_espeak_SetParameter", referenced from:
      ofxEspeakSynth::setup(ofxEspeakSynth::ESParam) in ofxEspeakSynth.o
  "_espeak_SetSynthCallback", referenced from:
      ofxEspeakSynth::setup(ofxEspeakSynth::ESParam) in ofxEspeakSynth.o
  "_espeak_SetVoiceByProperties", referenced from:
      ofxEspeakSynth::setup(ofxEspeakSynth::ESParam) in ofxEspeakSynth.o
ld: symbol(s) not found for architecture x86_64