DanielChappuis / reactphysics3d

Open source C++ physics engine library in 3D
http://www.reactphysics3d.com
zlib License
1.54k stars 224 forks source link

Can NOT compile using ndk r19 for Android platform #286

Closed zack-not-know-why-it-work closed 8 months ago

zack-not-know-why-it-work commented 2 years ago

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);
DanielChappuis commented 2 years ago

Thanks a lot for your feedback.

I wil try to fix that on Android platform. However, you should really not use this branch. This is a development branch that I am currently working on. You you use the master branch instead.

zack-not-know-why-it-work commented 2 years ago

Thank you. I will use master branch instead.

Chaosaber commented 1 year ago

Hi~ Has this problem been fixed?

DanielChappuis commented 8 months ago

This should now be fixed in version v0.10.0 of the library. Thanks a lot for reporting the issue.