AnsweredAssumed Answered

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

Question asked by Ivanov Vadim on Jun 5, 2019
Latest reply on Jun 7, 2019 by Bio_TICFSL

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?

Outcomes