Speech Recognition Engines

Flat
compiling HTK in windows
User: abdul
Date: 1/26/2007 4:16 pm
Views: 13380
Rating: 27

Hi.

I tried to build HTK tools by

nmake /f htk_htktools_nt.mkf all

as shown in http://htk.eng.cam.ac.uk/docs/inst-win.shtml.

But everytime I got the error message "expected ':' or '=' seperator".

Does anybody know how to fix this problem?

 

--- (Edited on 1/26/2007 4:16 pm [GMT-0600] by abdul) ---

Re: compiling HTK in windows
User: kmaclean
Date: 1/28/2007 10:08 am
Views: 396
Rating: 26

Hi,

Sorry, I don't use or have access to MS Visual Studio.

You can compile HTK in Windows using Cygwin. 

Just install Cygwin pursuant to the download instructions in the VoxForge Acoustic Model Creation Tutorial.  Note: you need to make sure you install Perl, the X11-devel package,and the gcc compiler.

Next, download the HTK Linux Source tarball.

Create an HTK directory in Cygwin, and extract the tarball in that directory (see the Cygwin Cheatsheet for help with Cygwin commands).

Then execute the following commands:

$ ./configure

$ make all

$ make install

This will install the executables in your /usr/bin directory, which should be in your Cygwin path.

If you are looking for an excellent Open Source IDE as an alternative to MS Visual Studio, you might try the Eclipse IDE.

All the best, 

Ken 

--- (Edited on 1/28/2007 11:08 am [GMT-0500] by kmaclean) ---

--- (Edited on 1/28/2007 11:09 am [GMT-0500] by kmaclean) ---

Re: compiling HTK in windows
User: abdul
Date: 2/1/2007 10:24 am
Views: 293
Rating: 26

Hi.

Thank you. I have compiled HTK as your instructions. And it is working.

All the best,

Abdul.

--- (Edited on 2/ 1/2007 10:24 am [GMT-0600] by Visitor) ---

Re: compiling HTK in windows
User: kmaclean
Date: 2/2/2007 2:11 pm
Views: 623
Rating: 32

Hi Abdul,

HTK acknowledged that there were problems with the HTK rel 3.4 Windows Makefiles, and they have just posted updated ones here:

http://htk.eng.cam.ac.uk/ftp/software/HTK-WindowsMakefiles-3.4.zip
ftp://htk.eng.cam.ac.uk/software/HTK-WindowsMakefiles-3.4.zip

(Note: you need to login to the HTK site)

Ken 

--- (Edited on 2/ 2/2007 3:11 pm [GMT-0500] by kmaclean) ---

Re: compiling HTK in windows
User: kmaclean
Date: 7/27/2007 6:13 pm
Views: 737
Rating: 32

For a howto on compiling HTK 3.4 on Windows Visual Studio see Arlindo Veiga's web page.

Ivan Uemlianin website also has some notes on compiling HTK on Windows XP with Cygwin and with Visual Studio Express (these should complement Arlindo's on VS 6. 7. & 8). 

 

--- (Edited on 7/30/2007 6:19 pm [GMT-0400] by kmaclean) ---

Re: compiling HTK in windows
User: jkorosi
Date: 11/30/2008 3:23 pm
Views: 161
Rating: 7

hi all

i had the same problem. the solution is replace all line ending characters \r\r\r\n for \r\n ( in all files including makefiles)  and afte that in all make files repeat this procedure but replace ony \r\r\n for \r\n. after that you can  use howto in readme file :-)

 

--- (Edited on 11/30/2008 3:23 pm [GMT-0600] by Visitor) ---

Re: compiling HTK in windows
User: kmaclean
Date: 3/16/2009 7:50 am
Views: 2259
Rating: 6

Email question: how do I get X11-devel package and what version of gcc that is used?

>how do I get X11-devel package

I am assuming that you can get it from your Cygwin package installer (see Windows version of VoxForge Tutorial).

>what version of gcc that is used?

I have not looked at the Windows version of HTK in a while, but if you are having troubles compiling in HTK, then you should be able to install "compat-gcc-34-c++" and "compat-gcc-34" (see Linux version of VoxForge Tutorial) using the Cygwin package installer.

Ken

--- (Edited on 3/16/2009 8:50 am [GMT-0400] by kmaclean) ---

PreviousNext