(doesn't work. Festival's makefile don't support Windows 10 and Visual Studio 2019. refer to its INSTALL)
1. Install WSL (Ubuntu)
In WSL (Ubuntu), install build tools:
$ sudo apt update
$ sudo apt install build-essential
2. Get Festival and Speech Tools source code.
http://festvox.org/packed/festival/2.5/
$ cd /cygdrive/c
$ tar zxvf speech_tools-2.5.0-release.tar.gz
$ tar xzvf festival-2.5.0-release.tar.gz
$ tar zxvf festlex_CMU.tar.gz
$ tar zxvf festlex_POSLEX.tar.gz
$ tar zxvf festlex_OALD.tar.gz
$ tar zxvf festvox_kallpc16k.tar.gz
3. Make Makefile for VC in WSL (Ubuntu)
$ cd speech_tools
$ ./configure
$ make VCMakefile
$ cp config/vc_config_make_rules-dist config/vc_config_make_rules
$ cd ../festival
$ ./configure
$ make VCMakefile
$ cp config/vc_config_make_rules-dist config/vc_config_make_rules
4. Build with VC
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat
Reference: https://eguidedog.net/doc/doc_build_win_festival.php
评论