libmx3 / mx3

a sample project showcasing/collecting cross platform techniques on mobile
MIT License
1.17k stars 149 forks source link

Android runtime error dlopen failed: cannot locate symbol "atof" when built with android-21/22 #64

Open kabram opened 9 years ago

kabram commented 9 years ago

I'm getting a runtime error in android when I build with NDK r10d and api android-21 or android-22. Build with android-19 doesn't have the issue. java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "atof" referenced by "libmx3_android.so"... Seems some bits have been moved around from 19 onwards

skabbes commented 9 years ago

Hmm, I think atof might be in an old version of json11. Have you run git submodule update recently? I believe I have fixed this error here: https://github.com/libmx3/json11/commit/cfdd67577c0694f26b7609599a9e087d0ab31643