[yocto] How to include libraries?

Burton, Ross ross.burton at intel.com
Wed May 24 06:26:49 PDT 2017


On 24 May 2017 at 13:20, Gary Thomas <gary at mlbassoc.com> wrote:

> I have an image which needs to include the libcups2 package from
> the cups recipe.  If I try adding this to my image recipe
>   CORE_IMAGE_EXTRA_INSTALL_append = " libcups2"
> I get this error:
>   ERROR: Required build target 'my-demo-image' has no buildable providers.
>   Missing or unbuildable dependency chain was: ['my-demo-image',
> 'libcups2']
>
> However, I can get it to build with this
>   MACHINE_EXTRA_RRECOMMENDS_append = " libcups2"
>
> What's the difference between these two approaches and why doesn't the
> first
> one work at all?
>

Does the latter actually work?  Recommends won't fail if the package
doesn't exist, or is getting pulled in via another route.

I've a feeling that you actually want the pre-renaming name here so try
cups-lib.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170524/88fdc68c/attachment.html>


More information about the yocto mailing list