Closed giampierosalvi closed 1 month ago
Hi, I get the following error running make (I cloned and built the latest version of kaldi on 2023-05-25).
c++ -std=c++14 -I.. -isystem /home/giampi/Documents/kaldi/tools/openfst-1.7.2/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_MKL -I/opt/intel/mkl/include -m64 -msse -msse2 -pthread -g -fPIC -Wno-sign-compare -I/home/giampi/Documents/kaldi/src -Wl,-rpath=/home/giampi/Documents/kaldi/tools/openfst-1.7.2/lib -rdynamic -Wl,-rpath=/home/giampi/Documents/kaldi/src/lib context-to-pdf.cc /home/giampi/Documents/kaldi/src/lm/libkaldi-lm.so /home/giampi/Documents/kaldi/src/decoder/libkaldi-decoder.so /home/giampi/Documents/kaldi/src/lat/libkaldi-lat.so /home/giampi/Documents/kaldi/src/hmm/libkaldi-hmm.so /home/giampi/Documents/kaldi/src/transform/libkaldi-transform.so /home/giampi/Documents/kaldi/src/gmm/libkaldi-gmm.so /home/giampi/Documents/kaldi/src/tree/libkaldi-tree.so /home/giampi/Documents/kaldi/src/matrix/libkaldi-matrix.so /home/giampi/Documents/kaldi/src/util/libkaldi-util.so /home/giampi/Documents/kaldi/src/base/libkaldi-base.so /home/giampi/Documents/kaldi/src/hmm/libkaldi-hmm.so /home/giampi/Documents/kaldi/src/fstext/libkaldi-fstext.so /home/giampi/Documents/kaldi/tools/openfst-1.7.2/lib/libfst.so -L/opt/intel/mkl/lib/intel64 -Wl,-rpath=/opt/intel/mkl/lib/intel64 -l:libmkl_intel_lp64.so -l:libmkl_core.so -l:libmkl_sequential.so -ldl -lpthread -lm -lm -lpthread -ldl -o context-to-pdf context-to-pdf.cc: In function ‘int main(int, char**)’: context-to-pdf.cc:76:9: error: ‘ContextDependency’ was not declared in this scope 76 | ContextDependency ctx_dep; | ^~~~~~~~~~~~~~~~~ context-to-pdf.cc:77:40: error: ‘ctx_dep’ was not declared in this scope 77 | ReadKaldiObject(po.GetArg(2), &ctx_dep); | ^~~~~~~ make: *** [<builtin>: context-to-pdf] Error 1
Any hints on how to fix this?
I believe this pull request fixes the problem: https://github.com/dansoutner/kaldi2htk/pull/4
Oh, cool. I am not using Kaldi and HTK anymore, but merging PR to other possible users.
Hi, I get the following error running make (I cloned and built the latest version of kaldi on 2023-05-25).
Any hints on how to fix this?