Babylon Native Sample App Build error

I’ve pulled the BabylonJS native repo and am trying to build the sample Android project. The output is showing the same error over and over (at least 20 times) all from different locations.

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

Pinging @BabylonNative

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
In the mean time, as a workaround, you can disable V8 inspector in the gradle file

2 Likes