安装kaldi遇到问题的解决办法

1、OpenFst问题

Checking compiler g++ ...
Checking OpenFst library in ...
***configure failed: Could not find file /include/fst/fst.h:
you may not have installed OpenFst. See ../tools/INSTALL ***
1
2
3
4
经过查看其他人的做法,我到kaldi.tools 目录下用make安装了openfst
即:

cd tools
make openfst

2、cub

Checking compiler c++ ...
Checking OpenFst library in /root/kaldi/tools/openfst-1.7.2 ...
Checking cub library in  ...
***configure failed: Could not find file /cub/cub.cuh:
  you may not have installed cub.  Go to ../tools/ and type
  'make cub' to download and unpack it. We'll detect it then. ***
从网上下载一个cub-1.8.0.tar.gz,然后将这个文件拷贝到kaldi/tools目录下,最后make cub。

你可能感兴趣的:(kaldi)