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?
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