alumae / gst-kaldi-nnet2-online

GStreamer plugin around Kaldi's online neural network decoder
Apache License 2.0
185 stars 100 forks source link

Error to make #102

Open xmuyyy opened 2 years ago

xmuyyy commented 2 years ago

When I use command "make" in gst-kaldi-nnet2-online/src, it came out an error like this below: Makefile:75: warning: overriding recipe for target 'clean'/root/autodl-tmp/kaldi//src/makefiles/default_rules.mk:94: warning: ignoring old recipe for target 'clean'Makefile:79: warning: overriding recipe for target 'depend'/root/autodl-tmp/kaldi//src/makefiles/default_rules.mk:158: warning: ignoring old recipe for target 'depend'Package gstreamer-audio-1.0 was not found in the pkg-config search path.Perhaps you should add the directory containing gstreamer-audio-1.0.pc'to the PKG_CONFIG_PATH environment variableNo package 'gstreamer-audio-1.0' foundPackage gstreamer-audio-1.0 was not found in the pkg-config search path.Perhaps you should add the directory containinggstreamer-audio-1.0.pc'to the PKG_CONFIG_PATH environment variableNo package 'gstreamer-audio-1.0' foundc++ -shared -DPIC -o libgstkaldinnet2onlinedecoder.so -L/root/autodl-tmp/kaldi/src/lib -lgstbase-1.0 -lgstcontroller-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lglib-2.0 -ljansson -lkaldi-online2 -lkaldi-lat -lkaldi-decoder -lkaldi-feat -lkaldi-transform -lkaldi-gmm -lkaldi-hmm -lkaldi-tree -lkaldi-matrix -lkaldi-util -lkaldi-base -lkaldi-lm -lkaldi-nnet2 -lkaldi-nnet3 -lkaldi-cudamatrix -lkaldi-ivector -lkaldi-fstext -lkaldi-chain -Wl,-soname=libgstkaldinnet2onlinedecoder.so -Wl,--no-as-needed -Wl,-rpath=/root/autodl-tmp/kaldi/src/lib -lrt -pthread -lgstbase-1.0 -lgstcontroller-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lglib-2.0 -ljansson -lkaldi-online2 -lkaldi-lat -lkaldi-decoder -lkaldi-feat -lkaldi-transform -lkaldi-gmm -lkaldi-hmm -lkaldi-tree -lkaldi-matrix -lkaldi-util -lkaldi-base -lkaldi-lm -lkaldi-nnet2 -lkaldi-nnet3 -lkaldi-cudamatrix -lkaldi-ivector -lkaldi-fstext -lkaldi-chain -Wl,-soname=libgstkaldinnet2onlinedecoder.so -Wl,--no-as-needed -Wl,-rpath=/root/autodl-tmp/kaldi/src/lib -lrt -pthread /root/autodl-tmp/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 -Wl,-rpath=/root/autodl-tmp/kaldi/tools/openfst-1.7.2/lib -rdynamic -Wl,-rpath=/root/autodl-tmp/kaldi/src/lib \ gstkaldinnet2onlinedecoder.o simple-options-gst.o gst-audio-source.o kaldimarshal.o/usr/bin/ld: cannot find -lkaldi-online2/usr/bin/ld: cannot find -lkaldi-lat/usr/bin/ld: cannot find -lkaldi-decoder/usr/bin/ld: cannot find -lkaldi-feat/usr/bin/ld: cannot find -lkaldi-transform/usr/bin/ld: cannot find -lkaldi-gmm/usr/bin/ld: cannot find -lkaldi-hmm/usr/bin/ld: cannot find -lkaldi-tree/usr/bin/ld: cannot find -lkaldi-matrix/usr/bin/ld: cannot find -lkaldi-util/usr/bin/ld: cannot find -lkaldi-base/usr/bin/ld: cannot find -lkaldi-lm/usr/bin/ld: cannot find -lkaldi-nnet2/usr/bin/ld: cannot find -lkaldi-nnet3/usr/bin/ld: cannot find -lkaldi-cudamatrix/usr/bin/ld: cannot find -lkaldi-ivector/usr/bin/ld: cannot find -lkaldi-fstext/usr/bin/ld: cannot find -lkaldi-chain/usr/bin/ld: cannot find -lkaldi-online2/usr/bin/ld: cannot find -lkaldi-lat/usr/bin/ld: cannot find -lkaldi-decoder/usr/bin/ld: cannot find -lkaldi-feat/usr/bin/ld: cannot find -lkaldi-transform/usr/bin/ld: cannot find -lkaldi-gmm/usr/bin/ld: cannot find -lkaldi-hmm/usr/bin/ld: cannot find -lkaldi-tree/usr/bin/ld: cannot find -lkaldi-matrix/usr/bin/ld: cannot find -lkaldi-util/usr/bin/ld: cannot find -lkaldi-base/usr/bin/ld: cannot find -lkaldi-lm/usr/bin/ld: cannot find -lkaldi-nnet2/usr/bin/ld: cannot find -lkaldi-nnet3/usr/bin/ld: cannot find -lkaldi-cudamatrix/usr/bin/ld: cannot find -lkaldi-ivector/usr/bin/ld: cannot find -lkaldi-fstext/usr/bin/ld: cannot find -lkaldi-chaincollect2: error: ld returned 1 exit statusMakefile:61: recipe for target 'libgstkaldinnet2onlinedecoder.so' failedmake: *** [libgstkaldinnet2onlinedecoder.so] Error 1 I check kaldi/src, the dic kaldi/sec/lib didn't exist. Even if I remake kaldi/src, it still not work. The dic kaldi/sec/lib still didn't exist. I would be appreciate if anyone can help me