Re: [yocto] pkg-config search directories

2017-10-10 Thread eliya....@gmail.com
Hi, Yes its the same problem, just wanted to be more specific. I have added mesa to DEPENDS but still same result. I have also tried running bitbake mesa and it is successful so pkgconfig with mesa works. Yes, I am using glmark2 recipe from meta-oe. perhaps you can recommend a better recipe then

Re: [yocto] pkg-config search directories

2017-10-10 Thread eliya....@gmail.com
Hi Ross, I am still trying to configure pkg-config. Running bitbake glmark2 recipe results with an error : Checking for 'gl': not found. looking into the log file : Checking for 'gl' ['/home/wzbwjj/vpm/GR_Yocto/build/tmp/sysroots/x86_64-linux/usr/bin/pkg-config', 'gl',

Re: [yocto] pkg-config search directories

2017-10-09 Thread Burton, Ross
Is this the same problem? You dont want to search the host for libraries that you want on the target. Just add mesa to DEPENDS and pkgconfig will find the GL headers in the sysroot. Are you using the glmark2 recipe from meta-oe? Ross On 8 October 2017 at 16:00, eliya@gmail.com

Re: [yocto] pkg-config search directories

2017-10-03 Thread Burton, Ross
On 3 October 2017 at 16:36, eliya@gmail.com wrote: > Thanks Ross, > That is the issue : default pkg-config does not search host paths - How to > edit its search paths ? > "If you *really* want to link against host binaries and not building your own native recipes for it

Re: [yocto] pkg-config search directories

2017-10-03 Thread eliya....@gmail.com
Thanks Ross, That is the issue : default pkg-config does not search host paths - How to edit its search paths ? On Tue, Oct 3, 2017 at 6:28 PM, Burton, Ross wrote: > Ah, so if you're inheriting native then the default pkg-config is good, > but the host paths are not

Re: [yocto] pkg-config search directories

2017-10-03 Thread Burton, Ross
Ah, so if you're inheriting native then the default pkg-config is good, but the host paths are not searched out of the box. If you *really* want to link against host binaries and not building your own native recipes for it then see qemu.inc for an example of how to steal the host pkg-config path

Re: [yocto] pkg-config search directories

2017-10-03 Thread eliya....@gmail.com
when running the recipe I get during do_configure: Checking for header stdlib.h : yes ... Checking for program pkg-config : /home/wzbwjj/vpm/GR_Yocto/build/tmp/sysroots/x86_64-linux/usr/bin/pkg-config How do I change that ? On Tue, Oct 3, 2017 at 6:02 PM, Burton, Ross

Re: [yocto] pkg-config search directories

2017-10-03 Thread Burton, Ross
You don't need to, it will search the host. Ross On 3 October 2017 at 15:54, eliya@gmail.com wrote: > Hi Ross, > how to configure use of pkg-config-native ? > > On Tue, Oct 3, 2017 at 5:51 PM, Burton, Ross > wrote: > >> On 3 October 2017 at

Re: [yocto] pkg-config search directories

2017-10-03 Thread eliya....@gmail.com
Hi Ross, how to configure use of pkg-config-native ? On Tue, Oct 3, 2017 at 5:51 PM, Burton, Ross wrote: > On 3 October 2017 at 15:13, eliya@gmail.com > wrote: > >> Hi all, >> I am new to the Yocto project. >> Is this the Yocto forum ? >> I would

Re: [yocto] pkg-config search directories

2017-10-03 Thread Burton, Ross
On 3 October 2017 at 15:13, eliya@gmail.com wrote: > Hi all, > I am new to the Yocto project. > Is this the Yocto forum ? > I would like configure pkg-config search directories but, the program > configured from the sysroots file system, so it does not see Host >

[yocto] pkg-config search directories

2017-10-03 Thread eliya....@gmail.com
Hi all, I am new to the Yocto project. Is this the Yocto forum ? I would like configure pkg-config search directories but, the program configured from the sysroots file system, so it does not see Host environment variables. i.e : there are two pkg-config apps : Host's pkg-config located at