Closed graceagrace closed 1 month ago
Check what ipks are being generated I think the reason is perhaps that this ipk is empty and hence not generated
what you add to image is usually not the recipe name but the output package name and a recipe can build more than one packages
I was able to resolve the issue by adding the following line to the recipe:
ALLOW_EMPTY:${PN} = "1"
Now, I can include the header and static libraries (opentelemetry-cpp-dev
and opentelemetry-cpp-staticdev
) in my rootfs, which is what I was hoping for. Thank you!
@graceagrace I think thats perhaps less than ideal solution, perhaps add
RDEPENDS:${PN}-dev = ""
in the recipe and add the needed -dev package to image might be something thats done in other recipes as well e.g. see meta-oe/recipes-devtools/valijson/valijson_1.0.3.bb
Hi there,
I am working off the latest
opentelemetry-cpp
recipe on the master branch. I would like to incorporate the opentelemetry libraries into an image, but encounter the following error when adding this package to my image usingIMAGE_INSTALL:append
:I have tried adding
opentelemetry-cpp
,opentelemetry-cpp-dev
, andopentelemetry-cpp-staticdev
, all without success. Can anyone point me in the right direction? I suspect I need to append something todo_install()
, but I'm not familiar enough with the inner workings of opentelemetry to know what the right paths are.