# ConfigTree on Ubuntu

**URL:** <https://forum.legato.io/t/configtree-on-ubuntu/3530>\
**Category:** Legato Application Framework\
**Created:** [August 6, 2018, 4:10pm UTC](https://forum.legato.io/t/configtree-on-ubuntu/3530 "2018-08-06T16:10:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lazzox](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@lazzox](https://forum.legato.io/u/lazzox)\
**Post date:** [August 6, 2018, 4:10pm UTC](https://forum.legato.io/t/configtree-on-ubuntu/3530/1 "2018-08-06T16:10:03Z")

</div>

Hello,

I’m developing C++ application on Ubuntu which uses SQLite, because Its being deployed on WP77xx I will be switching SQLite for ConfigTree.  
I’d like to maintain the possibility to develop my application on Ubuntu, so I’m interested

**if there is a way to build ConfigTree for Ubuntu platform? So that I can have the same C++ application working on Ubuntu and my target SierraWireless WP77xx**

---

<div class="post-metadata">

**Author:** ![Manukumar](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@Manukumar](https://forum.legato.io/u/Manukumar)\
**Post date:** [August 28, 2018, 12:25pm UTC](https://forum.legato.io/t/configtree-on-ubuntu/3530/2 "2018-08-28T12:25:53Z")

</div>

Hi,

For target wp series below steps can be followed:  
Download latest legato release and also respective tool chain.  
give make wp77xx in the legato folder.

After that follow the below steps:

1. create directory(mkdir third-party) in the {LEGATO\_ROOT} path.
2. copy the files(shell.c,sqlite3.c,sqlite3ext.h,sqlite3.h) which downloaded from sqlite-amalgamation-3220000 to third-party folder
3. create inc,src,lib directory in third-party directory and copy shell.c,sqlite3.c in “src” directory and copy  
sqlite3ext.h,sqlite3.h in “inc” directory.
4. Create Makefile in “src” directory and add the below comments  
export TOOLCHAIN\_DIR:=/opt/swi/y17-ext/sysroots/x86\_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi (appropriate toolchain for wp77xx)  
GCC = ${TOOLCHAIN\_DIR}/arm-poky-linux-gnueabi-gcc  
all:  
${GCC} -c -Wall -Werror -fpic -lpthread -ldl sqlite3.c -o …/lib/sqlite3.so
5. after this give “make” you will get .so in lib directory.You can use .so file in app bundles.
