Android NDK build

I am trying to build Box2D in Android NDK.
I get through quite a bit, and then I get this error:

in b2Math.h line 27 #include<limits>

Box2D/Common/b2Math.h:27:18: error: limits: No such file or directory

❓

Anybody hit this error before?

Thanks!
It seems like that header is only necessary to get a representation of infinity, for use in the function b2IsValid a few lines below the include. If you could replace the std::numeric_limits value for infinity with one that is appropriate for the NDK then you could take out the include <limits>
Thank you for your help!

I found the answer (to that particular problem)

Quote:
You can fix this by adding a file jni/Application.mk to your project containing the lines:

APP_PROJECT_PATH := $(call my-dir)/..
APP_STL := gnustl_static


http://forums.libsdl.org/viewtopic.php?t=7626&sid=fd589c4b671d2ceb78c42f6e1c9c4dc3

Original thread: https://box2d.org/forum/viewtopic.php?t=7804