2

NIST 球体形式のファイルを読み取るために、ここからダウンロードした NIST SPHERE ソフトウェアをインストールしようとしていますが、いくつかのエラーが発生しました。

make[2]: Entering directory `/home/ibtissem/tools/nist/src/bin'
gcc  -I/home/ibtissem/tools/nist/include -L/home/ibtissem/tools/nist/lib -g -g -DNARCH_linux h_add.c  -lm -o h_add
h_add.c:31: error: undefined reference to 'sp_verbose'
h_add.c:31: error: undefined reference to 'sp_verbose'
h_add.c:28: error: undefined reference to 'hs_getopt'
h_add.c:42: error: undefined reference to 'sp_verbose'
h_add.c:42: error: undefined reference to 'sp_get_version'
h_add.c:44: error: undefined reference to 'hs_optind'
h_add.c:50: error: undefined reference to 'hs_optind'
h_add.c:53: error: undefined reference to 'hs_optind'
h_add.c:55: error: undefined reference to 'hs_optind'
h_add.c:71: error: undefined reference to 'sp_create_header'
h_add.c:93: error: undefined reference to 'sp_write_header'
h_add.c:103: error: undefined reference to 'sp_fpcopy'
collect2: error: ld returned 1 exit status
make[2]: *** [h_add] Error 1

誰かがこのエラーについて何か考えを持っていますか?

4

3 に答える 3

3

新しいバージョンの sphere があります: http://www.nist.gov/itl/iad/mig/tools.cfm

Corpus Building Tools の 2 番目のツール。パッケージの readme ファイルによると、次のプラントフォームでテストされています。

Mac OS X (10.6)
Linux (Ubuntu 11.04)
Cygwin (Windows XP では 1.7)

于 2014-06-14T06:23:40.087 に答える
2

Sound Exchangeの使用をお勧めします。両方のコンバーターが含まれています。

sox foo.sph foo.wav

シンプルなプレーヤーと同様に:

play foo.sph

また、よく維持され、他のあらゆる種類の便利なことを行います。パッケージをコンパイルせずに簡単にダウンロードできます。

于 2016-06-02T21:27:13.047 に答える
1

sphere_2.6a.tar.Z は非常に古いパッケージであり、最新のシステムではサポートされていません

SPHERE ファイルをデコードするには、代わりに sph2pipe をダウンロードします。

ftp://ftp.ldc.upenn.edu/pub/ldc/misc_sw/sph2pipe_v2.5.tar.gz

ftp://ftp.ldc.upenn.edu/pub/ldc/misc_sw/sph2pipe_v2.5.README_1ST

于 2013-05-15T09:28:37.480 に答える