Jetson 编译安装开源 TTS 软件 ekho(树莓派可用)

参考文档
https://www.oschina.net/news/64854/ekho-tts-6-3
http://www.eguidedog.net/ekho.php
https://github.com/hgneng/ekho
https://blog.csdn.net/amds123/article/details/73825316
https://blog.csdn.net/fabeulous/article/details/8717394
https://blog.csdn.net/cceking/article/details/51760732

Jetson 编译安装开源 TTS 软件 ekho

安装过程中遇到不少坑希望对后来者有帮助

1. 安装 mlocate ,方便查看缺少哪些依赖,以及依赖库的位置
		a) sudo apt-get install mlocate
		b) sudo updated
2. sudo apt-get install espeak
3. sudo apt-get install libespeak-dev
4. sudo apt-get install gespeaker
5. sudo apt-get install libpulse-dev
6. sudo ln -s /usr/lib/aarch64-linux-gnu/libespeak-ng.so.1.1.49 /usr/lib/libespeak.so
7. sudo ln -s /usr/lib/aarch64-linux-gnu/pulseaudio/libpulsecommon-11.1.so /usr/lib/libpulsecommon.so
8. 下载 libsndfile-1.0.28.tar.gz
9. tar -xzf  libsndfile-1.0.28.tar.gz
10. cd libsndfile-1.0.28
11. ./configure && make
12. sudo make install
13. 下载 ekho-7.7.1.tar.xz
14. tar xJvf ekho-7.7.1.tar.xz
15. cd ekho-xxx
16. ./configure
17. cd libmusicxml/linux/ && make clean
18. cd ekho-xxx
19. make 遇到错误: undefined reference to symbol 'pa_strerror@@PULSE_0'
20. 手动执行: g++ -I./utfcpp/source -I./sonic -g -O2 -O0 -o test_ekho src/test_ekho-test_ekho.o  libekho.a ./libmusicxml/libmusicxml2.a -lespeak -lsndfile -lpthread -lpulse -lpulse-simple -lpulsecommon
21. make 后再次遇到错误:undefined reference to symbol 'pa_strerror@@PULSE_0'
22. 手动执行 g++ -I./utfcpp/source -I./sonic -pthread -g -O2 -O0 -o ekho src/ekho-ekho.o  -lstdc++ libekho.a ./libmusicxml/libmusicxml2.a -lespeak -lsndfile -lpthread -pthread -lpulse -lpulse-simple -lpulsecommon
23. make    ##完成
24. sudo make install
25. 测试 echo -vMandarin “你好”  ##尴尬,这个版本的普通话竟然是男声
发布了18 篇原创文章 · 获赞 1 · 访问量 948

猜你喜欢

转载自blog.csdn.net/ManWZD/article/details/104028396
TTS