Hi,

have you tried adding libstdc++-dev to the recipe dependencies?

DEPENDS += " libstdc++-dev"

This will bring libstdc++ package into recipe sysroot and no extra actions
will be needed on compilation flags.

Regards,
Gabriele

On Tue, Dec 3, 2019 at 11:44 AM Mauro Ziliani <ma...@faresoftware.it> wrote:

> Hi all
>
> I'm trying to compile a library which need cstdio.
>
> The file is in ${STAGING_INCDIR}/c++/5.3.0 and in
> ${STAGING_INCDIR}/c++/5.3.0/tr1
>
> I think I need to "include" in my recipe all libstdc++dev package
>
> Looking on ${CXX} -v I get
> --with-gxx-include-dir=/not/exist/usr/include/c++/5.3.0
>
>
> How can I use stdc by recipe?
>
>
> Mauro
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
>
> View/Reply Online (#47516):
> https://lists.yoctoproject.org/g/yocto/message/47516
> Mute This Topic: https://lists.yoctoproject.org/mt/65707284/3618237
> Group Owner: yocto+ow...@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  [
> gabbla.mal...@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#47517): https://lists.yoctoproject.org/g/yocto/message/47517
Mute This Topic: https://lists.yoctoproject.org/mt/65707284/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to