[yocto] Newbie question: How to get dependencies into compile of custom recipe?

2014-04-22 Thread Neuer User
Hi Sorry for this simple question. I've just started building my first image with yocto and would now like to add a (very simple) own recipe. I followed the Yocto Development guide, added my own layer and included the helloworld example. Now I would like to exchange the helloworld.c code with a

Re: [yocto] Newbie question: How to get dependencies into compile of custom recipe?

2014-04-22 Thread Richard Purdie
On Tue, 2014-04-22 at 09:57 +0200, Neuer User wrote: Hi Sorry for this simple question. I've just started building my first image with yocto and would now like to add a (very simple) own recipe. I followed the Yocto Development guide, added my own layer and included the helloworld

Re: [yocto] Newbie question: How to get dependencies into compile of custom recipe?

2014-04-22 Thread Neuer User
Am 22.04.2014 10:42, schrieb Richard Purdie: Basically, you need to pass in the correct compiler and linker flags. http://gstreamer.freedesktop.org/data/doc/gstreamer/head/faq/html/chapter-developing.html Adding: `pkg-config --cflags --libs gstreamer` to your compiler line will

Re: [yocto] Newbie question: How to get dependencies into compile of custom recipe?

2014-04-22 Thread Robert Calhoun
On 4/22/14 3:57 AM, Neuer User auslands...@gmx.de wrote: Sorry for this simple question. I've just started building my first image with yocto and would now like to add a (very simple) own recipe. (I am not familiar with gstreamer, but it looks like a big project and maybe not so simple!) The

Re: [yocto] Newbie question: How to get dependencies into compile of custom recipe?

2014-04-22 Thread Gary Thomas
On 2014-04-22 06:56, Neuer User wrote: Am 22.04.2014 10:42, schrieb Richard Purdie: Basically, you need to pass in the correct compiler and linker flags. http://gstreamer.freedesktop.org/data/doc/gstreamer/head/faq/html/chapter-developing.html Adding: `pkg-config --cflags --libs gstreamer`

Re: [yocto] Newbie question: How to get dependencies into compile of custom recipe?

2014-04-22 Thread Neuer User
H Rob Thanks for the information. To clarify: My recipe is a very simple one. It is just one c file with maybe 40 lines or so. But it uses library functions from another recipe gst-rtsp, which again uses gstreamer. Both, gstreamer and gst-rtsp are compiled and working nicely, as far as I can