VoxForge
I'm trying to install NIST's Speech Recognition Scoring Toolkit (SCTK) on Windows 7, but all the make files are set up for linux so I'm getting several errors. Are there versions of this toolkit put together as a MS Visual Studio solution? Or is there another way I can get the makefile working in windows? Any help would be appreciated. Thanks!
--- (Edited on 2/8/2010 1:24 pm [GMT-0600] by Visitor) ---
>Or is there another way I can get the makefile working in windows?
try Cygwin
--- (Edited on 2/8/2010 2:48 pm [GMT-0500] by kmaclean) ---
hi... i am woking with sclite toolkit... facing problems regarding the compilation of the sclite toolkit.,... the cygwin continously gives me error that the file cannot be executed... i am not sure what to do.... can anyboody explain the procedure for installing the sclite toolkit on windows.....
Waiting for reply....
--- (Edited on 3/1/2012 7:07 am [GMT-0600] by Visitor) ---
> cannot be executed
cd nist ; chmod +x bin/*
Now try running one of them, you'll find that it runs. Properly? Maybe.
By the way I was able to install the NIST score 3.6.2 on Windows using Cygwin, bash -i
cd /cygdrive/c/ben/nist
export PATH=$PWD/bin:$PATH
export MANPATH=$PWD/doc/man:$MANPATH
sh src/scripts/install.sh
...
choose 8 (custom) and for architecture type intel
...
blah blah conflicting types for getline blah strcasecmp blah blah blah
chmod bin/*
Looks like this guy did it for a class, too, and maybe you can copy his binaries?
http://my.fit.edu/~vkepuska/ece5527/score_3.6.2/nist/doc/score.rdm
--- (Edited on 7/3/2012 3:03 am [GMT-0500] by Visitor) ---
This ugly workaround got sclite running for me. Assuming Win7, Cygwin are installed, extract sctk-2.4.0 tar file to c:\x
Next, do this:
c:\> bash -i
chmod -R a+rwx .
export CPATH=$PWD/src/sclite:.
make config
make all # it fails with gcc: sclite.c: No such file or directory
# so we do something very ugly:
cp src/*/*.c .
make all
# now ./sclite.exe works, believe it or not!
echo "one two three (ben_01)" > reffile
echo "one to three (ben_01)" > hypfile
./sclite.exe -h hypfile trn -r reffile trn -i spu_id
# okay but it didnt align.
--- (Edited on 7/4/2012 2:29 am [GMT-0500] by ) ---
Using the following environment windows 7 / gcc version 4.6.2, when executing “make all” the following error is being thrown:
recording.h:122:29: error: 'Filter::Filter' cannot appear in a constant-expression
recording.h:122:36: error: template argument 2 is invalid
recording.h:122:36: error: template argument 4 is invalid
make[3]: *** [main.o] Error 1
it compile fine on windows 7 / gcc version 3.4.4 (using the following installer of MinGW: mingw-get-inst-20101030.exe)
--- (Edited on 9/14/2012 1:44 pm [GMT-0500] by Visitor) ---
It was also necesary to modify 'src/rfilter1/makefile.in' and Changing the value of OPTIONS to be blank (this was specified in the instructions)
--- (Edited on 9/14/2012 1:50 pm [GMT-0500] by Visitor) ---
Thank you for posting the solution also. So many people neglect to do this.. I had been using gcc 4.5.3.
--- (Edited on 9/14/2012 3:07 pm [GMT-0500] by benreaves) ---
Hi, i chnaged makefile.in but the problem is the same. Couuld you how to change OPTIONS to blank?!!!!!
--- (Edited on 11/6/2012 3:56 pm [GMT-0600] by Visitor) ---
Easier (but even uglier) workaround, which I gave to an intern who did some Word Error Rate calculations for me:
cp src/*/*.c . ; make allworkaround from my previous message
This worked just fine on her laptop running Windows 7, and she didn't need Cygwin or any other NIST software on her laptop.
-Ben
--- (Edited on 11/6/2012 5:48 pm [GMT-0600] by benreaves) ---
--- (Edited on 11/6/2012 5:53 pm [GMT-0600] by benreaves) ---