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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

553件の閲覧回数
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 件の賞賛
1 返信

398件の閲覧回数
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 件の賞賛