AnsweredAssumed Answered

How to compile the gstreamer code

Question asked by Santhosh Kumar on Mar 27, 2019
Latest reply on Oct 13, 2019 by Santhosh Kumar

I am trying to write a gstreamer code and compile for i.mx8Qmax. But when i try to compile im facing a problem


santhosh@santhosh-Vostro-15-3568:~/Desktop/gstreamer$ echo $CC
aarch64-poky-linux-gcc --sysroot=/opt/fsl-imx-x11/4.9.51-mx8-beta/sysroots/aarch64-poky-linux
santhosh@santhosh-Vostro-15-3568:~/Desktop/gstreamer$ aarch64-poky-linux-gcc basic-tutorial-1.c -o basic-tutorial-1 `pkg-config --cflags --libs gstreamer-1.0`
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
basic-tutorial-1.c:1:21: fatal error: gst/gst.h: No such file or directory
 #include <gst/gst.h>
compilation terminated.


advice how to resolve k