Compiling Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compiling Error

897 Views
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

Labels (5)
1 Reply

496 Views
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 Kudos