# Babylon Native Sample App Build error

**URL:** https://forum.babylonjs.com/t/babylon-native-sample-app-build-error/48025
**Category:** Questions
**Tags:** babylon-native
**Created:** [February 14, 2024, 2:30am UTC](https://forum.babylonjs.com/t/babylon-native-sample-app-build-error/48025 "2024-02-14T02:30:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![quickytools](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/quickytools/32/37773_2.png) [@quickytools](https://forum.babylonjs.com/u/quickytools)
#### Post date: [February 14, 2024, 2:30am UTC](https://forum.babylonjs.com/t/babylon-native-sample-app-build-error/48025/1 "2024-02-14T02:30:55Z")

</div>

I’ve pulled the BabylonJS native repo and am trying to build the [sample Android project](https://github.com/BabylonJS/BabylonNative/tree/master/Apps/Playground/Android). The output is showing the same error over and over (at least 20 times) all from different locations.

```auto
error: 'allocator<void>' is deprecated [-Werror,-Wdeprecated-declarations]
C/C++: typedef basic_executor_type<std::allocator<void>, 0> executor_type;

```

Is it possible to successfully produce a build on/with the following?

- Intel Mac Mini Sonoma 14.2.1
- Changed compile and target SDK version to 30 (from 29)
- NDK version 23.1.7779620 (unchanged)
- CMake 3.22.1

---

<div class="post-metadata">

### Author: ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)
#### Post date: [February 14, 2024, 11:13am UTC](https://forum.babylonjs.com/t/babylon-native-sample-app-build-error/48025/2 "2024-02-14T11:13:08Z")

</div>

Pinging [@BabylonNative](https://forum.babylonjs.com/groups/babylonnative)

---

<div class="post-metadata">

### Author: ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)
#### Post date: [February 14, 2024, 11:17am UTC](https://forum.babylonjs.com/t/babylon-native-sample-app-build-error/48025/3 "2024-02-14T11:17:15Z")

</div>

Hi @quickytools  
This is a known issue with asio project that shows up with V8 inspector.  
There is a WIP PR that will fix it : [up ndk and JSRuntimeHost by CedricGuillemet · Pull Request #1353 · BabylonJS/BabylonNative · GitHub](https://github.com/BabylonJS/BabylonNative/pull/1353)  
In the mean time, as a workaround, you can disable V8 inspector in the gradle file

> <https://github.com/BabylonJS/BabylonNative/blob/ec4c6ea909d585161269e8f84fcf9fcbf7d6d711/Apps/Playground/Android/app/build.gradle#L45>
