makefilecygwinhtk

Building HTK without X11


I am trying to install HTK using Cygwin (32 bit) on a x86_64 computer build. This is part of the error I get when running

./configure

make all

gcc = 5.4.0, g++ = 5.4.0, perl = 5; I have X11 folder in C:/cygwin/usr/share

Let me know if I should post the entire error of the make file.

HSLab.c: In function ‘FileExists’: HSLab.c:1209:12: warning: variable ‘isEXF’ set but not used [-Wunused-but-set-variable] Boolean isEXF; /* File name is extended */ ^ /tmp/ccZO1TK3.o: In function InitBar': /cygdrive/c/users/stevenha29/My Documents/htk/HTKTools/HSLab.c:344: undefined reference toHTextWidth' /cygdrive/c/users/stevenha29/My Documents/htk/HTKTools/HSLab.c:348: undefined reference to HSetColour' /cygdrive/c/users/stevenha29/My Documents/htk/HTKTools/HSLab.c:349: undefined reference toHTextHeight' /cygdrive/c/users/stevenha29/My Documents/htk/HTKTools/HSLab.c:349: undefined reference to HPrintf' /cygdrive/c/users/stevenha29/My Documents/htk/HTKTools/HSLab.c:350: undefined reference toHSetGrey' /cygdrive/c/users/stevenha29/My Documents/htk/HTKTools/HSLab.c:351: undefined reference to `HFillRectangle'


Solution

  • Run

    ./configure --without-x --disable-hslab 
    

    to disable Xlib and HSLab

    Overall, Cygwin is a bad idea, it is better to use Linux, you can install it in Virtualbox.