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 what im using Thanks On Mon, Oct 9, 2017 at 1:16 PM, Burton, Ross <ross.bur...@intel.com> wrote: > 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 <eliya....@gmail.com> > wrote: > >> 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', '--cflags', '--libs'] >> err: Package gl was not found in the pkg-config search path. >> Perhaps you should add the directory containing `gl.pc' >> to the PKG_CONFIG_PATH environment variable >> No package 'gl' found >> >> not found >> from /home/wzbwjj/vpm/GR_Yocto/build/tmp/work/corei7-64-poky-linu >> x/glmark2/2014.03+AUTOINC+fa71af2dfa-r0/git: The configuration failed >> >> >> Thanks! >> >> >> >> On Tue, Oct 3, 2017 at 6:40 PM, Burton, Ross <ross.bur...@intel.com> >> wrote: >> >>> On 3 October 2017 at 16:36, eliya....@gmail.com <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 then see qemu.inc for an example of how to >>> steal the host pkg-config path and use it at configure time." >>> >>> Ross >>> >> >> >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto