首页 > 解决方案 > 用 Swing 编译 CMU Pocketsphinx 的 makefile

问题描述

我正在尝试将 PocketSphinx 移植到 C#。他们已经有了我需要运行的makefile。当我运行makefile时,出现以下错误

是makefile链接。

我收到以下错误消息。

错误 :

swig -I.. -I../../../sphinxbase/swig -I../include -I../../sphinxbase/include \
    -csharp \
    -dllimport "libpocketsphinxwrap.so" \
    -namespace "Pocketsphinx" -o sphinxbase.c \
    -outdir gen ../../../sphinxbase/swig/sphinxbase.i
process_begin: CreateProcess(NULL, swig -I.. -I../../../sphinxbase/swig -I../include -I../../sphinxbase/include -csharp -dllimport libpocketsphinxwrap.so -namespace  Pocketsphinx -o sphinxbase.c -outdir gen ../../../sphinxbase/swig/sphinxbase.i, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [makefile:7: pocketsphinx.c] Error 2

标签: makefilecmusphinx

解决方案


推荐阅读