when give root of kaldi i get this error. how can a variable is not declared there..
KALDI_ROOT=/media/thesis/73EF5F223191438D/kaldi/ make
[sudo] password for thesis:
Makefile:74: warning: overriding recipe for target 'clean'
/media/thesis/73EF5F223191438D/kaldi//src/makefiles/default_rules.mk:67: warning: ignoring old recipe for target 'clean'
Makefile:78: warning: overriding recipe for target 'depend'
/media/thesis/73EF5F223191438D/kaldi//src/makefiles/default_rules.mk:119: warning: ignoring old recipe for target 'depend'
g++ -std=c++11 -I.. -I/media/thesis/73EF5F223191438D/kaldi/tools/openfst/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_ATLAS -I/media/thesis/73EF5F223191438D/kaldi/tools/ATLAS/include -msse -msse2 -pthread -g -fPIC -DKALDI_NO_EXPF -I/media/thesis/73EF5F223191438D/kaldi//src -c -o gstkaldinnet2onlinedecoder.o gstkaldinnet2onlinedecoder.cc
gstkaldinnet2onlinedecoder.cc: In function ‘std::vector kaldi::gst_kaldinnet2onlinedecoder_phone_alignment(kaldi::Gstkaldinnet2onlinedecoder, const std::vector&, const CompactLattice&)’:
gstkaldinnet2onlinedecoder.cc:944:3: error: ‘MinimumBayesRiskOptions’ was not declared in this scope
MinimumBayesRiskOptions mbr_opts;
^~~~~~~
gstkaldinnet2onlinedecoder.cc:945:3: error: ‘mbr_opts’ was not declared in this scope
mbr_opts.decode_mbr = false; // we just want confidences
^~~~
gstkaldinnet2onlinedecoder.cc: In function ‘std::vector kaldi::gst_kaldinnet2onlinedecoder_nbest_results(kaldi::Gstkaldinnet2onlinedecoder, kaldi::CompactLattice&)’:
gstkaldinnet2onlinedecoder.cc:1094:7: error: ‘MinimumBayesRiskOptions’ was not declared in this scope
MinimumBayesRiskOptions mbr_opts;
^~~~~~~
gstkaldinnet2onlinedecoder.cc:1095:7: error: ‘mbr_opts’ was not declared in this scope
mbr_opts.decode_mbr = false; // we just want confidences
^~~~
gstkaldinnet2onlinedecoder.cc: In function ‘void kaldi::gst_kaldinnet2onlinedecoder_load_model(kaldi::Gstkaldinnet2onlinedecoder, const GValue)’:
gstkaldinnet2onlinedecoder.cc:1872:68: error: ‘SetBatchnormTestMode’ was not declared in this scope
SetBatchnormTestMode(true, &(filter->am_nnet3->GetNnet()));
^
gstkaldinnet2onlinedecoder.cc:1873:66: error: ‘SetDropoutTestMode’ was not declared in this scope
SetDropoutTestMode(true, &(filter->am_nnet3->GetNnet()));
^
gstkaldinnet2onlinedecoder.cc: In function ‘void kaldi::gst_kaldinnet2onlinedecoder_load_fst(kaldi::Gstkaldinnet2onlinedecoder, const GValue)’:
gstkaldinnet2onlinedecoder.cc:1907:50: error: ‘ReadFstKaldiGeneric’ is not a member of ‘fst’
fst::Fst * new_decode_fst = fst::ReadFstKaldiGeneric(str);
^~~
when give root of kaldi i get this error. how can a variable is not declared there..
KALDI_ROOT=/media/thesis/73EF5F223191438D/kaldi/ make
[sudo] password for thesis: Makefile:74: warning: overriding recipe for target 'clean' /media/thesis/73EF5F223191438D/kaldi//src/makefiles/default_rules.mk:67: warning: ignoring old recipe for target 'clean' Makefile:78: warning: overriding recipe for target 'depend' /media/thesis/73EF5F223191438D/kaldi//src/makefiles/default_rules.mk:119: warning: ignoring old recipe for target 'depend' g++ -std=c++11 -I.. -I/media/thesis/73EF5F223191438D/kaldi/tools/openfst/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_ATLAS -I/media/thesis/73EF5F223191438D/kaldi/tools/ATLAS/include -msse -msse2 -pthread -g -fPIC -DKALDI_NO_EXPF -I/media/thesis/73EF5F223191438D/kaldi//src -c -o gstkaldinnet2onlinedecoder.o gstkaldinnet2onlinedecoder.cc gstkaldinnet2onlinedecoder.cc: In function ‘std::vector kaldi::gst_kaldinnet2onlinedecoder_phone_alignment(kaldi::Gstkaldinnet2onlinedecoder, const std::vector&, const CompactLattice&)’:
gstkaldinnet2onlinedecoder.cc:944:3: error: ‘MinimumBayesRiskOptions’ was not declared in this scope
MinimumBayesRiskOptions mbr_opts;
^ kaldi::gst_kaldinnet2onlinedecoder_nbest_results(kaldi::Gstkaldinnet2onlinedecoder , kaldi::CompactLattice&)’:
gstkaldinnet2onlinedecoder.cc:1094:7: error: ‘MinimumBayesRiskOptions’ was not declared in this scope
MinimumBayesRiskOptions mbr_opts;
^ * new_decode_fst = fst::ReadFstKaldiGeneric(str);
^~~
~~~~~~ gstkaldinnet2onlinedecoder.cc:945:3: error: ‘mbr_opts’ was not declared in this scope mbr_opts.decode_mbr = false; // we just want confidences ^~~~ gstkaldinnet2onlinedecoder.cc: In function ‘std::vector~~~~~~ gstkaldinnet2onlinedecoder.cc:1095:7: error: ‘mbr_opts’ was not declared in this scope mbr_opts.decode_mbr = false; // we just want confidences ^~~~ gstkaldinnet2onlinedecoder.cc: In function ‘void kaldi::gst_kaldinnet2onlinedecoder_load_model(kaldi::Gstkaldinnet2onlinedecoder, const GValue)’: gstkaldinnet2onlinedecoder.cc:1872:68: error: ‘SetBatchnormTestMode’ was not declared in this scope SetBatchnormTestMode(true, &(filter->am_nnet3->GetNnet())); ^ gstkaldinnet2onlinedecoder.cc:1873:66: error: ‘SetDropoutTestMode’ was not declared in this scope SetDropoutTestMode(true, &(filter->am_nnet3->GetNnet())); ^ gstkaldinnet2onlinedecoder.cc: In function ‘void kaldi::gst_kaldinnet2onlinedecoder_load_fst(kaldi::Gstkaldinnet2onlinedecoder, const GValue)’: gstkaldinnet2onlinedecoder.cc:1907:50: error: ‘ReadFstKaldiGeneric’ is not a member of ‘fst’ fst::Fst