Skip to content

Can NOT compile using ndk r19 for Android platform #286

@zack-not-know-why-it-work

Description

Hi Daniel

There is a compile error as below when I try to build branch refactor_shapes_creation using ndk r19 for Android platform.

Compiler: ndk r19

/react_physics/include/reactphysics3d/memory/DefaultAllocator.h:67:24: error: use of undeclared identifier
      'aligned_alloc'
                return std::aligned_alloc(GLOBAL_ALIGNMENT, size);

Metadata

Metadata

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions