# Sdk does not containing json-glib

**URL:** <https://forum.legato.io/t/sdk-does-not-containing-json-glib/6650>\
**Category:** Legato Linux distribution (Yocto project)\
**Created:** [November 30, 2023, 3:27pm UTC](https://forum.legato.io/t/sdk-does-not-containing-json-glib/6650 "2023-11-30T15:27:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MVAJGER](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@MVAJGER](https://forum.legato.io/u/MVAJGER)\
**Post date:** [November 30, 2023, 3:27pm UTC](https://forum.legato.io/t/sdk-does-not-containing-json-glib/6650/1 "2023-11-30T15:27:31Z")

</div>

Hello!  
I would like to create an SDK for R17, which should be generated by the `make toolchain_bin` command. My problem is that after adding json-glib to the image.inc and compiling the SDK, the SDK does not include the library, although it seems to have been successfully compiled under build\_bin/tmp/work/…/json-glib/. Does anyone have any ideas why it’s not getting included in the SDK?  
Thanks

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [December 1, 2023, 2:06am UTC](https://forum.legato.io/t/sdk-does-not-containing-json-glib/6650/2 "2023-12-01T02:06:56Z")

</div>

I guess image.inc is for yocto image only, not for the toolchain

i don’t have any experience on building the toolchain, but here says you need to modify  
meta-swi/common/recipes-core/meta/meta-toolchain-swi.bb

> [@Yocto distro toolchain change to linaro](https://forum.legato.io/t/yocto-distro-toolchain-change-to-linaro/2237/4):
>
> Hi Voloviq, Using another toolchain with the WP85 might not be so easy, as there is a lot of compatibility issues between libraries that are in the toolchain and on the target. In the end building the QT5 support within the WP85 Yocto distribution might actually be a simpler course of action. There is this article on how to use a meta-qt5 layer: [http://wiki.wandboard.org/index.php/Building\_Qt5\_using\_yocto\_on\_Wandboard](http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard) Yocto 1.7 is called dizzy so you would need to take [GitHub - meta-qt5/met…](https://github.com/meta-qt5/meta-qt5/tree/dizzy)

It also says " compiled binaries are located in ~/…/build\_bin/tmp/sysroots/x86\_64-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-", I wonder if you can manually add your own library there and pack as a .sh file

---

<div class="post-metadata">

**Author:** ![MVAJGER](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@MVAJGER](https://forum.legato.io/u/MVAJGER)\
**Post date:** [December 1, 2023, 10:12am UTC](https://forum.legato.io/t/sdk-does-not-containing-json-glib/6650/3 "2023-12-01T10:12:42Z")

</div>

As far as I know, it should be sufficient to insert the nativesdk class into BBCLASSEXTEND; however, it seems that in this case, it doesn’t happen, unlike what I observe in the recipes.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [December 1, 2023, 11:04am UTC](https://forum.legato.io/t/sdk-does-not-containing-json-glib/6650/4 "2023-12-01T11:04:25Z")

</div>

I wonder if you can manually put required files in ~/…/build\_bin/tmp/sysroots/x86\_64-linux/usr/bin/arm-poky-linux-gnueabi/

And then make the toolchain
