Cygwinを使用してWindows 7にsphinxbaseをインストールして、pocketsphinx androidデモを実行しようとしました。 しかし、私は作る実行した後、次のエラーを得た:cygwinでsphinxbaseをコンパイルするときのエラー
gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.7.11-i686-2.6/sphinxbase.o -L../src/libsphinxbase/.libs -L/usr/lib/python2.6/config -lsphinxbase -liconv -lpython2.6 -o build/lib.cygwin-1.7.11-i686-2.6/sphinxbase.dll
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Makefile:471: recipe for target `pymod-build-stamp' failed
make[1]: *** [pymod-build-stamp] Error 1
make[1]: Leaving directory `/cygdrive/c/psph/sphinxbase/python'
Makefile:330: recipe for target `all-recursive' failed
make: *** [all-recursive] Error 1.
は、私がリンクhttp://www.cs.columbia.edu/~ecooper/CS4706/ps-cygwin.htmlを訪問し、手順に従ったが、同じ結果に。 私は上記の状況でpocketsphinx-0.7とsphinxbase-0.7を使用しました。
全体的なエラーですか?私は、あなたがペーストしたログの前に、何か他のものがあるはずだと思います。 –
完全なログは次のとおりです。 – rahulserver