Open prlabu opened 4 years ago
Installing HTK on macOS Catalina. Following the steps outlined in HTK on OS X, error arises the make all step...
make all
strarr.c:21:10: fatal error: 'malloc.h' file not found #include <malloc.h> ^~~~~~~~~~ 1 error generated. make[1]: *** [strarr.o] Error 1 make: *** [HTKLib/HTKLib.a] Error 1
The fix, for me at least: replace line 21 (#include <malloc.h>) of ./HTKLib/strarr.c with #include <stdlib.h>
#include <malloc.h>
#include <stdlib.h>
I can submit a pull request if that will help, just didn't think it's worth it for the small issue.
Your method solved my problem, thanks.
Installing HTK on macOS Catalina. Following the steps outlined in HTK on OS X, error arises the
make all
step...The fix, for me at least: replace line 21 (
#include <malloc.h>
) of ./HTKLib/strarr.c with#include <stdlib.h>
I can submit a pull request if that will help, just didn't think it's worth it for the small issue.