1. 教程中
cd models/fluid/DeepASR/decoder
models
https://gitee.com/paddlepaddle/models
发现在models里没有 fluid
应该是 /models/PaddleSpeech/DeepASR/decoder
但是 也会报错
running build_ext
building 'post_latgen_faster_mapped' extension
g++ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ipybind11/include -I. -I/home/mm/kaldi/:/home/mm/kaldi/:/src -I/home/mm/kaldi/:/home/mm/kaldi/:/tools/openfst/src/include -IThreadPool -I/home/mm/anaconda3/include/python3.8 -c pybind.cc -o build/temp.linux-x86_64-3.8/pybind.o -std=c++11 -fopenmp -Wno-sign-compare -Wno-unused-variable -Wno-unused-local-typedefs -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-unused-function
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /home/mm/kaldi/src/hmm/transition-model.h:25:0,
from /home/mm/kaldi/src/decoder/decodable-matrix.h:27,
from post_latgen_faster_mapped.h:19,
from pybind.cc:18:
/home/mm/kaldi/src/util/const-integer-set.h:28:28: fatal error: util/stl-utils.h: No such file or directory
compilation terminated.
error: command 'g++' failed with exit status 1