-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android? #172
Comments
Yes it works on android NDK. My current student project (see the JSON lib code here integrated in the project: https://github.com/ZahlGraf/mySafeCore/tree/master/dependencies/json ) uses it with Android NDK r10e (see travis-CI, here it is build frequently). |
we use the c++_shared library and it works fine with that as well. |
For compatibility reasons, I'm using ndk 8, but I'm #APP_STL := stlport_static APP_CPPFLAGS := -std=c++11 -frtti |
Oh snap, @ZahlGraf, that link shows me he has |
I think with gcc 4.8 (is this the toolchain version??) there are issues with this lib: #110 @EvilPudding These functions are missing for any reason in some gcc libraries for Android. I think the patch has been reintegrated, because other libs for Android support it. So if you have compile issues due to these missing functions, just apply the patch. I think this lib here is very cool, but it needs latest compilers. If you have issues with the compiler, there is another simple lib for JSON, that may work also on older compilers: RapidJSON |
@ZahlGraf I have no time to migrate to a different lib gcc 4.9 is not avaliable in ndk 8, so I won't have access |
@EvilPudding I hope it runs well for you now. Have a lot of luck and success by finishing your project :) |
@ZahlGraf Thanks. |
Is this supposed to work on android with NDK? I really need it to, but I'm getting so many errors that I'm getting scared, because I have very close deadline.
The text was updated successfully, but these errors were encountered: