How i can add gstreamer1.0 in my cross compiller?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How i can add gstreamer1.0 in my cross compiller?

679 Views
regoni
Contributor II

Hi, i want to compile app with support gstreamer1.0 lib.

I'm using cross compile on host x86 Ubuntu 16.04 with aarch64-linux-gnu-gcc for imx8mmevk.

When i am compiling simple project like:

#include <gst/gst.h>

int main (int argc, char *argv[])
{
   gst_init (&argc, &argv);
   return 0;
}

with 

aarch64-linux-gnu-gcc main.c -o prog `pkg-config —cflags —libs /media/usb1/usr/lib/gstreamer-1.0`

i'm getting:

main.c:1:21: fatal error: gst/gst.h: no such file or directory.

Q:

How i can add gstreamer in my cross compiller?

0 Kudos
Reply
1 Reply

524 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Ivanov,

Depends on which yocto bsp version you use, you can use demo image or build the yocto by youself, the image includes gstreamer, you don't need to compile gstreamer specially

please check:

https://community.nxp.com/message/1134160

Regards

0 Kudos
Reply