VoxForge
Hi,
I have followed this tutorial to install HTK-3.1.2 for adaptation
http://www.voxforge.org/home/dev/acousticmodels/linux/adapt/htkjulius/download-htk
But it gives me this error when I try to run ./makeHTK.sh
make: *** No rule to make target `../HTKLib/HTKLib.linux.a', needed by `Cluster'. Stop.
Do anyone know what is the problem?
I have changed
export HBIN='/home/yourhomedirectory/htk-3.2.1'
into
export HBIN='/home/roland/htk-3.2.1'
and also
cd ./HTKLib
make clean
make
cd ../HTKTools
make clean
make
cd ../HLMLib
make clean
make
cd ../HLMTools
make clean
make
into
cd /home/roland/htk-3.2.1/HTKLib
make clean
make
cd /home/roland/htk-3.2.1/HTKTools
make clean
make
cd /home/roland/htk-3.2.1/HLMLib
make clean
make
cd /home/roland/htk-3.2.1/HLMTools
make clean
make
This is just to make sure it goes into correct directory.
Another problem is, I have followed also the others' suggestion to adapt using HTK-3.4
But, when I tried to run
HHEd -H macros -H hmmdefs -M hmm16 regtree.hed tiedlist
It gives me rtree.tree and rteee.base, instead of hmmdefs and macros inside my hmm16 folders.
Any help is appreciated.
Thank you
--- (Edited on 5/22/2010 3:02 am [GMT-0500] by 12074n12) ---
>make: *** No rule to make target `../HTKLib/HTKLib.linux.a',
>needed by `Cluster'. Stop.
I think some of the HTK make rules have hard coded path dependencies... therefore change your make commands in makeHTK.sh back to:
cd ./HTKLib
make clean
make
cd ../HTKTools
make clean
make
cd ../HLMLib
make clean
make
cd ../HLMTools
make clean
make
and run the ./makeHTK.sh script from /home/roland/htk-3.2.1
--- (Edited on 6/9/2010 9:36 pm [GMT-0400] by kmaclean) ---
I figured out the problem. Some idiot tried to put a function declaration inside a function definition, which as far as I know the are no compilers that allow that. Anyway, move the line
"static InputXForm* GetInputXForm(HMMSet *hset, Source *src, Token *tok);"
that's somewhere around line 660 to anywhere above that that is outside a function.
--- (Edited on 5/4/2013 10:55 am [GMT-0500] by Visitor) ---