I need to install HTK for my project related to sound processing. But when I installed it, I got an error like this:
gcc -m64 -ansi -std=gnu99 -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG -c -o HGraf.o HGraf.c
HGraf.c:88:10: fatal error: 'X11/Xos.h' file not found
#include <X11/Xos.h>
It seems that Xcode doesn't have Xos.h
. I have also checked in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers/X11
and can't find Xos.h
.
I have installed Xcode version 2354 and also install XQuartz, but I still get this error. My HTK version is 3.5 (the newest one).
Does anyone here know how to fix this issue? Thanks!