[yocto] Header-Files of DEPEND recipe not found

yocto yocto yoctomailinglist at gmail.com
Mon Aug 10 04:13:32 PDT 2015


Good day,

I am using the "soci" recipe:

https://github.com/openembedded/meta-openembedded/tree/9a5d25f2a717814f948b492b9c01c1ff0edb678d/meta-oe/recipes-support/soci

soci is successfully being built when using the following dependency in my
own recipe which relies on soci:

DEPENDS = "soci"

soci produces the following output:

soci/3.2.2-r0/image/usr/include/soci/    (Contains the header-files needed
by my recipe)
soci/3.2.2-r0/image/usr/lib

Furthermore the following *.ipk are being created by soci:

soci/3.2.2-r0/deploy-ipks/core2-32/soci_3.2.2-r0_core2-32.ipk
soci/3.2.2-r0/deploy-ipks/core2-32/soci-dev_3.2.2-r0_core2-32.ipk
soci/3.2.2-r0/deploy-ipks/core2-32/soci-dbg_3.2.2-r0_core2-32.ipk
soci/3.2.2-r0/deploy-ipks/core2-32/soci-staticdev_3.2.2-r0_core2-32.ipk

The package soci-dev seems to contain the header-files as well as the
libraries that my recipe needs.

However, when compiling my own recipe I get compiling errors ("soci.h not
found"). I am 100% sure that I specified the correct paths.

What might be wrong here? I thought using DEPENDS = "soci" should handle
this?

DEPENDS = "soci-dev" results in:

 "ERROR: Nothing PROVIDES 'soci-dev' (but my-recipe.bb DEPENDS on or
otherwise requires it)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150810/283bc390/attachment.html>


More information about the yocto mailing list