编译pocketsphinx时找不到sphinxbase.lib

时间:2015-09-09 04:08:51

标签: speech-recognition voice-recognition cmusphinx pocketsphinx

我从github检查了最新版本的CMUSphinx。我成功编译了sphinxbase,在尝试编译pocketsphinx时,我遇到了一个错误说:

P.S:我使用Visual Studio 2013 Express Edition编译sphinxbase和VS2010来编译pocketsphinx

“找不到sphinxbase.lib”

可能是什么问题?

Sphinxbase and Pocketsphinx in the same parent folder:

enter image description here

1 个答案:

答案 0 :(得分:1)

通常通过查看编译器输出来计算路径问题通常是微不足道的,您可以读取日志以查看发生的情况。 Sphinxbase路径是硬编码的,如果它不匹配,你会看到像这样的问题。

根据说明书的建议,您很可能没有将sphinxbase-5pr​​ealpha重命名为sphinxbase。或者您没有将sphinxbase和pocketsphinx源放在同一个文件夹中。您还需要在两个项目中使用VS 2013。