# I get failure in NDK Build

**URL:** <https://forum.webosose.org/t/i-get-failure-in-ndk-build/2156>\
**Category:** Platform Development\
**Created:** [July 1, 2023, 5:47am UTC](https://forum.webosose.org/t/i-get-failure-in-ndk-build/2156 "2023-07-01T05:47:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kas](https://avatars.discourse-cdn.com/v4/letter/k/a88e57/32.png) [@kas](https://forum.webosose.org/u/kas)\
**Post date:** [July 1, 2023, 5:47am UTC](https://forum.webosose.org/t/i-get-failure-in-ndk-build/2156/1 "2023-07-01T05:47:27Z")

</div>

To develop native app

> **[Native Development Kit Setup](https://www.webosose.org/docs/guides/setup/setting-up-native-development-kit/)**
>
> To build external native apps or services for webOS Open Source Edition (OSE), you need to install Native Development Kit (NDK) on your computer.
> The NDK is a set of tools that include toolchains, libraries, and header files. This guide describes how...

```auto
$ git clone https://github.com/webosose/build-webos
$ cd build-webos
$ git checkout -t origin/2.20
$ sudo scripts/prerequisites.sh
$ ./mcf -p 3 -b 3 raspberrypi4-64
$ source oe-init-build-env
$ bitbake -c populate_sdk webos-image
`
as explained here
I build the NDK.
But finally, I get the following failure error:

Summary: 1 task failed:
   /home/xxx/build-webos/meta-qt6/recipes-qt/qt6/qtbase_git.bb:do_install_ptest_base

and
build-webos/BUILD/deploy/
The folder is empty.

What should I do to make the build successful?
```

---

<div class="post-metadata">

**Author:** ![ChangyongAhn](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.webosose.org/changyongahn/32/805_2.png) [@ChangyongAhn](https://forum.webosose.org/u/ChangyongAhn)\
**Post date:** [July 1, 2023, 8:18am UTC](https://forum.webosose.org/t/i-get-failure-in-ndk-build/2156/2 "2023-07-01T08:18:39Z")

</div>

Sir, What's your whole Build environment?

Many ppl got that problem with virtual machine.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/developer1/original/1X/a078b9d5ac0f43e7d9ef8c2c8cf318f9e3d1c717.png)

[https://www.webosose.org/docs/guides/setup/system-requirements/#build-system-requirements](https://www.webosose.org/docs/guides/setup/system-requirements/#build-system-requirements)

Plus, lastest version of webOSOSE is webOS OSE 2.22.0 NOW.

If you make a new Drive partition, i recommend 500GB or larger.

---

<div class="post-metadata">

**Author:** ![kas](https://avatars.discourse-cdn.com/v4/letter/k/a88e57/32.png) [@kas](https://forum.webosose.org/u/kas)\
**Post date:** [July 4, 2023, 9:17am UTC](https://forum.webosose.org/t/i-get-failure-in-ndk-build/2156/3 "2023-07-04T09:17:31Z")

</div>

PC environment :  
OS Linux  
core i7 hex core  
ram 8GB  
ssd 256GB

---

<div class="post-metadata">

**Author:** ![ChangyongAhn](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.webosose.org/changyongahn/32/805_2.png) [@ChangyongAhn](https://forum.webosose.org/u/ChangyongAhn)\
**Post date:** [July 5, 2023, 8:51am UTC](https://forum.webosose.org/t/i-get-failure-in-ndk-build/2156/4 "2023-07-05T08:51:46Z")

</div>

I think you need additional disk space and RAM.  
Building takes more than 300GB of storage, excluding the Ubuntu OS.  
And i recommend 32GB of RAM, because it tries to use about 24GB RAM.

If you tried with laptop, plz try with desktop.

And don't forget to upgrade GCC.

---

<div class="post-metadata">

**Author:** ![kas](https://avatars.discourse-cdn.com/v4/letter/k/a88e57/32.png) [@kas](https://forum.webosose.org/u/kas)\
**Post date:** [July 5, 2023, 10:32pm UTC](https://forum.webosose.org/t/i-get-failure-in-ndk-build/2156/5 "2023-07-05T22:32:31Z")

</div>

Thank you for answer.

Does it fail if I build it on my laptop?

---

<div class="post-metadata">

**Author:** ![ChangyongAhn](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.webosose.org/changyongahn/32/805_2.png) [@ChangyongAhn](https://forum.webosose.org/u/ChangyongAhn)\
**Post date:** [July 5, 2023, 11:07pm UTC](https://forum.webosose.org/t/i-get-failure-in-ndk-build/2156/6 "2023-07-05T23:07:31Z")

</div>

Idk if all laptops fail building but i tested 5 models, all failed. I strongly recommend build with desktop.

---

<div class="post-metadata">

**Author:** ![NERGI](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.webosose.org/nergi/32/364_2.png) [@NERGI](https://forum.webosose.org/u/NERGI)\
**Post date:** [July 5, 2023, 11:16pm UTC](https://forum.webosose.org/t/i-get-failure-in-ndk-build/2156/7 "2023-07-05T23:16:24Z")

</div>

Today I tested the build using webOS OSE 2.22.0. The total amount of required disk space is 304GB.
