DEPENDS += "protobuf" is enough to have dependencies resolved.

Problem is that bitbake's do_populate_sysroot does not take anything from
bindir.
This leads to nativesdk-(qt)grpc's do_prepare_recipe_sysroot to not get the
protoc binary into the recipe_sysroot as expected by CMake.

This can be fixed with SYSROOT_DIRS.

On Thu, 9 Nov 2023 at 12:19, Vyacheslav Yurkov <[email protected]> wrote:

> Hi Clément,
> No, the issue is when you just build nativesdk recipe (we are not at the
> stage to use the SDK yet).
>
> And that was exactly my question how to propagate the dependency correctly
> for nativesdk build.
>
> Regards,
> Slava
>
> On 09.11.2023 01:13, Clément Péron wrote:
>
> Hi Samuli,
>
> Le mer. 8 nov. 2023, 22:30, Samuli Piippo <[email protected]> a
> écrit :
>
>> Hi Clément,
>>
>> Were you able to reproduce the issue?
>>
>
> Sorry I'm on vacation without access to a laptop at the moment.
>
> But if I understand the issue is not related to a target or native recipes
> issue, right?
>
> It's only when building the SDK and then try to build an application with
> it right?
>
> Maybe there is a missing dependency when building the SDK.
>
> Regards,
> Clement
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106518): 
https://lists.openembedded.org/g/openembedded-devel/message/106518
Mute This Topic: https://lists.openembedded.org/mt/101679410/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to