Compiling Error

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

Compiling Error

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