User:
kmaclean
Date: 6/17/2009 10:04 am
Views: 6560
Rating: 16
From this post: Installing HTK on Microsoft Windows(μμ±μΈμ software)
Prerequisites
- HTK has been verified to compile using Microsoft Visual Studio.
- For testing, you will require a Perl interpreter such as ActivePerl.
- You will need a tool such as 7-zip for unpacking the HTK source code archive.
- Register on this site by accepting the HTK End User Licence Agreement, then download the latest HTK source code.
- It is helpful if you have some familiarity with using the DOS
command line interface, as you will need to interact with it in order
to compile, install and run HTK.
- Ensure that your PATH contains C:\Program Files\Microsoft Visual Studio\VC98\bin
Compilation
- Unpack the HTK sources using 7-zip.
- Open a DOS command window: Click Start, select Run type cmd at the prompt and click OK.
- cd into the directory in which you unpacked the sources.
- cd into the htk directory. Type:
cd htk
- Create a directory for the library and tools. Type:
mkdir bin.win32
- Run VCVARS32 (it should be in your path, see prerequisites above)
- Build the HTK Library, which provides the common functionality used by the HTK Tools. Enter the following commands:
cd HTKLib
nmake /f htk_htklib_nt.mkf all
cd ..
- Build the HTK Tools
cd HTKTools
nmake /f htk_htktools_nt.mkf all
cd ..
cd HLMLib
nmake /f htk_hlmlib_nt.mkf all
cd ..
cd HLMTools
nmake /f htk_hlmtools_nt.mkf all
cd ..
Installation
The HTK tools have now been built and are
in the bin.win32 directory. You should add this directory to your PATH,
so that you can run them easily from the command line in future.