-
download source file: http://htk.eng.cam.ac.uk/download.shtml
-
安装lib
sudo apt install gcc-multilib # to solve fatal error: bits/libc-header-start.h: No such file or directory #include <bits/libc-header-start.h> // 这个库可以在64位的机器上产生32位的程序或者库文件 sudo apt intall libx11-dev libx11-dev:i386
-
解压
gzip -dk HTK-3.4.1.tar.gz tar -xf HTK-3.4.1.tar
-
configure & make & install
./configure --prefix=/builddir/htk/ make all #在make HTKTool的时候,遇到“Makefile:77:*** missing separator (did you mean TAB instead of 8 spaces?).” 把HTKTool里的Makefile中77行的空格改成tab make install
-
在
~/.bashrc
中加入export PATH=/builddir/htk/bin:$PATH
, 然后source ~/.bashrc
使之生效
build htk source code
最新推荐文章于 2022-01-07 11:51:07 发布