Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KALDI_ROOT error to make #63

Open
Alif112 opened this issue Jan 28, 2018 · 0 comments
Open

KALDI_ROOT error to make #63

Alif112 opened this issue Jan 28, 2018 · 0 comments

Comments

@Alif112
Copy link

Alif112 commented Jan 28, 2018

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::vectorkaldi::_PhoneAlignmentInfo 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::vectorkaldi::_NBestResult 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::Fstfst::StdArc * new_decode_fst = fst::ReadFstKaldiGeneric(str);
^~~
: recipe for target 'gstkaldinnet2onlinedecoder.o' failed
make: *** [gstkaldinnet2onlinedecoder.o] Error 1

@naxingyu naxingyu mentioned this issue Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant