kaldi-asr / kaldi

kaldi-asr/kaldi is the official location of the Kaldi project.
http://kaldi-asr.org
Other
14.12k stars 5.31k forks source link

avoid build error on Windows #4757

Closed ochaheaven closed 2 years ago

ochaheaven commented 2 years ago

Hi maintainers.

I have tried to build this toolkit on Windows along with this instruction, but failed to compile src/base/kaldi-utils.cc. According to the error message, the compiler failed to find std::isprint() function here. This function is defined in ctype.h, so adding #include <cctype> can avoid this error.

jtrmal commented 2 years ago

OK, this looks harmless enough. I will close and opne again to restart travis so that the checks will run

jtrmal commented 2 years ago

merging anyway