<div dir="ltr">Hi Ross, <br>I am still trying to configure pkg-config. <div><br></div><div>Running bitbake glmark2 recipe results with an error :  </div><div>Checking for 'gl'  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  : not found.</div><div><br></div><div>looking into the log file : </div><div><div>Checking for 'gl'</div><div>['/home/wzbwjj/vpm/GR_Yocto/build/tmp/sysroots/x86_64-linux/usr/bin/pkg-config', 'gl', '--cflags', '--libs']</div><div>err: Package gl was not found in the pkg-config search path.</div><div>Perhaps you should add the directory containing `gl.pc'</div><div>to the PKG_CONFIG_PATH environment variable</div><div>No package 'gl' found</div><div><br></div><div>not found</div><div>from /home/wzbwjj/vpm/GR_Yocto/build/tmp/work/corei7-64-poky-linux/glmark2/2014.03+AUTOINC+fa71af2dfa-r0/git: The configuration failed</div></div><div><br></div><div><br></div><div>Thanks!</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 3, 2017 at 6:40 PM, Burton, Ross <span dir="ltr"><<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class="">On 3 October 2017 at 16:36, <a href="mailto:eliya.mir@gmail.com" target="_blank">eliya.mir@gmail.com</a> <span dir="ltr"><<a href="mailto:eliya.mir@gmail.com" target="_blank">eliya.mir@gmail.com</a>></span> wrote:<br></span><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks Ross, <br><div>That is the issue : default pkg-config does not search host paths - How to edit its search paths ? </div></div></blockquote><div><br></div></span><span class=""><div>"<span style="font-size:12.800000190734863px">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."</span></div><div><span style="font-size:12.800000190734863px"><br></span></div><div><span style="font-size:12.800000190734863px">Ross</span></div></span></div></div></div>
</blockquote></div><br></div>