alumae / kaldi-gstreamer-server

Real-time full-duplex speech recognition server, based on the Kaldi toolkit and the GStreamer framwork.
BSD 2-Clause "Simplified" License
1.07k stars 341 forks source link

/gst-audio-source.h:25:21: fatal error: gst/gst.h: No such file or directory #138

Open zhulizhong opened 6 years ago

zhulizhong commented 6 years ago

hello: when I compile the code under gst-plugin with make, the system shows the error: [root@iZwz9ie35gy2xae00xwq4kZ gst-plugin]# make Package gstreamer-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing gstreamer-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gstreamer-1.0' found Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containingglib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found g++ -std=c++11 -I.. -I/usr/src/kaldi-trunk/tools/openfst/include -Wno-sign-compare -I ../../tools/portaudio/install/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/usr/src/kaldi-trunk/tools/ATLAS_headers/include -msse -msse2 -pthread -g -fPIC -c -o gst-audio-source.o gst-audio-source.cc In file included from gst-audio-source.cc:22:0: ../gst-plugin/gst-audio-source.h:25:21: fatal error: gst/gst.h: No such file or directory

include <gst/gst.h>

                 ^

compilation terminated. make: *** [gst-audio-source.o] Error 1 anybody knows that?

jefflgaol commented 4 years ago

You will need to install "sudo apt-get install gstreamer-plugins-base1.0-dev"