Compiling Error

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

Compiling Error

1,794 次查看
christophertele
Contributor III

Hy!

I'm working with the phyFLEX-i.MX6 SoM and their latest Yocto BSP.

Im currently trying to Compile some C-Files direktly on the Target device.

A simple printf hello world was succesfull but some gstreamer pipelines give me the following error:

hello.c:2:21: fatal error: gst/gst.h: No such file or directory

     #include <gst/gst.h>

                                   ^

    compilation terminated.

after changing the include to #include <gstreamer-1.0/gst/gst.h> i got another error. something like glib.h no such file or directory.

seams like some header files are not at the places they should be. what went wrong? any suggestions how to fix this?

cheers

标签 (5)
1 回复

1,393 次查看
traht94
Contributor I

Try use "devshell"

Ex:

step 1: $ bitbake gst-hellowork -c devshell 

[you need to install some package to use devshell]

step 2: After step 1 successful, window of terminal will remote to yocto environment:

Ex: /build/tmp/work/cortexa15hf-neon-poky-linux-gnueabi/gst-helloworld/1.0-r0/gst-helloworld

$ make

0 项奖励
回复