Android ndk r15b - Posix_memalign () undeclared identifier

Viewed 1564

I am new to Android project. For my new task I need to build a project for Android platform. I am able to generate make file successfully​ using cmakelists.txt for Android using Android ndk and it's corresponding android.toolchain.cmake file. When I tried to run makefile. I am facing:

posix_memalign() undeclared identifier issue.

Here c and c++ compiler are clang which is default toolchain of Android ndk. I don't know how to fix this issue. Please help me to fix this issue.

I am using Windows os. I generated msys makefile.

1 Answers
Related