How to build Festival on Windows with Visual Studio 2019.

By admin, 3 三月, 2021

(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

评论

Restricted HTML

  • 允许的HTML标签:<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <img src>
  • 自动断行和分段。
  • 网页和电子邮件地址自动转换为链接。
验证码
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
请输入"Drupal10"