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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

554 次查看
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 回复

399 次查看
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 项奖励