Building HTK without X11

强颜欢笑 提交于 2019-12-31 07:20:57

问题


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'


回答1:


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.



来源:https://stackoverflow.com/questions/44731232/building-htk-without-x11

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!