<div dir="ltr">Yes, that's odd. Can you share the recipe?<div><br></div><div>Ross</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, 4 Oct 2018 at 19:24, Tim Hammer <<a href="mailto:tdhammer99@gmail.com">tdhammer99@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div>Even with libusb1 in DEPENDS it fails. It may be in the configure script (which works fine "outside" of a bitbake build), but what I am confused about is the lack of any libusb content in my cc-tool build tree.</div><div><br></div><div>When I added boost to the DEPENDS, I got the headers and libraries in recipe-sysroot/...</div><div>I am not getting any libusb stuff there with libusb1 in DEPENDS.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 4, 2018 at 2:01 PM Burton, Ross <<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The recipe you're after for DEPENDS is libusb1. If that doesn't work<br>
then there's a bug in the configure script.<br>
<br>
Ross<br>
On Thu, 4 Oct 2018 at 18:19, Tim Hammer <<a href="mailto:tdhammer99@gmail.com" target="_blank">tdhammer99@gmail.com</a>> wrote:<br>
><br>
> I am trying to write a recipe for cc-tool (<a href="https://sourceforge.net/projects/cctool/" rel="noreferrer" target="_blank">https://sourceforge.net/projects/cctool/</a>) and ran into the following error during the build:<br>
><br>
> | checking for libusb-1.0 >= 1.0.0... no<br>
> | configure: error: Package requirements (libusb-1.0 >= 1.0.0) were not met:<br>
> |<br>
> | No package 'libusb-1.0' found<br>
><br>
><br>
> I have added "libusb1" and then tried "libusb-compat" and also "libusb" as well as "libusb-1.0" to my recipe's DEPENDS but nothing gets fetched/built.<br>
><br>
> I previously encountered the same failure with Boost and adding it to DEPENDS was the solution. What am I missing for libusb-1.0?<br>
><br>
> Do I need to instead modify the configure input to look in a different location for libusb-1.0?<br>
> --<br>
><br>
> .Tim<br>
> --<br>
> _______________________________________________<br>
> yocto mailing list<br>
> <a href="mailto:yocto@yoctoproject.org" target="_blank">yocto@yoctoproject.org</a><br>
> <a href="https://lists.yoctoproject.org/listinfo/yocto" rel="noreferrer" target="_blank">https://lists.yoctoproject.org/listinfo/yocto</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_8732447672551663091gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br><span style="font-family:arial narrow,sans-serif">.Tim</span><br></div></div>
</blockquote></div>