kaldi-gstreamer-server
kaldi-gstreamer-server copied to clipboard
/gst-audio-source.h:25:21: fatal error: gst/gst.h: No such file or directory
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 containing
glib-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?
You will need to install "sudo apt-get install gstreamer-plugins-base1.0-dev"