How to Cross Compile GStreamer for NXP iMX8M Mini using Yocto #yocto #hardknott #meta-freescale #imx7ulpevk

[email protected] Wed, 08 Dec 2021 19:22:35 -0800
Newsgroups org.yoctoproject.lists.meta-freescale
Message-ID <[email protected]>
Hi Sir,

I am using NXP iMX8M Mini EVK and Yocto imx-linux-hardknott  imx-5.10.52 version.

Default GStreamer provided in NXP iMX BSP does not support the GStreamer C application it only supports the command line.

Hence I need to install and compile GStreamer using iMX yocto.

To do that I did the following steps -

1) I added the following code in local.conf file ->

IMAGE_INSTALL_append += "gstreamer1.0-rtsp-server gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav"

LICENSE_FLAGS_WHITELIST = "commercial"

2) After that I compiled and build the SDK and flashed it to iMX board.

but when I try to compile a simple GStreamer hello world application on my imx8 Mini board then
It gives me an error saying -

*fatal error: gst/gst.h: No such file or directory
* *#include <gst/gst.h>*

Am I Missing Anything?

*please suggest me how can I cross-compile the GStreamer for  iMX yocto ?*

Thanks,

Maneesh