k2-fsa / k2

FSA/FST algorithms, differentiable, with PyTorch compatibility.
https://k2-fsa.github.io/k2
Apache License 2.0
1.08k stars 211 forks source link

Use system kaldifeat #1250

Open meerfrau opened 9 months ago

meerfrau commented 9 months ago

Hi Fangjun,

I've got installed your great https://github.com/csukuangfj/kaldifeat locally: python-kaldifeat /usr/lib/python3.10/site-packages/_kaldifeat.cpython-310-x86_64-linux-gnu.so

Nevertheless k2 downloads v1.20 which fails to build with gcc 13: ./k2/build/temp.linux-x86_64-cpython-310/_deps/kaldifeat-src/kaldifeat/csrc/log.h:11:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?

How may I change this to v1.23 from my system?

csukuangfj commented 9 months ago

please try https://github.com/k2-fsa/k2/pull/1251