From: Reece D. <ms...@go...> - 2011-04-13 18:45:51
|
On 13 April 2011 19:27, Sebastian Humenda <shu...@gm...> wrote: > Hello Jonathan, > >>I didn't get exactly the same effect as your speech sample, but I think >>I've found the problem and fixed it in eSpeak 1.45.15 at >>http://espeak.sf.net/test/latest.html > With the latest source code, I get errors while compiling. I'm running > Debian Squeeze with portaudio19 and this worked at least with the > 1.45.14-release. > krustus ../src :-) % make > g++ -o speak speak.o compiledict.o dictionary.o intonation.o readclause.o setlengths.o numbers.o synth_mbrola.o synthdata.o synthesize.o translate.o mbrowrap.o tr_langua > ges.o voices.o wavegen.o phonemelist.o klatt.o sonic.o -lstdc++ -lportaudio -lpthread > wavegen.o: In function `WavegenOpenSound()': > wavegen.cpp:(.text+0x2279): undefined reference to `Pa_StreamActive' > wavegen.o: In function `WavegenCloseSound()': > wavegen.cpp:(.text+0x2383): undefined reference to `Pa_StreamActive' > collect2: ld returned 1 exit status > make: *** [speak] Fehler 1 > === > I also tried > # apt-get build-dep espeak > to get all dependencies for eSpeak, but it still doesn't work. In espeak there are the following files: src/portaudio.h src/portaudio18.h src/portaudio19.h src/portaudio.h is just a copy of portaudio18.h, so you will need to either: 1. Run `cp src/portaudio19.h src/portaudio.h` or 2. Replace src/portaudio.h with: ----- #if defined(PORTAUDIO_18) # include "portaudio18.h" #else # include "portaudio19.h" #endif ----- I prefer option 2 (https://github.com/rhdunn/espeak/tree/build) as it supports both v18 and v19. HTH, - Reece |