I am trying to create an android application that uses boost serialization. I created a library against NDK r8d using a 4.7 g ++ arm. However, when I am going to compile my own code into the library using ndk-build, I get the link "undefined to the link" mbtowc "and" undefined to the link "wctomb" when the compiler tries to link some code to the header archive in boost.
I cannot get a clear answer about whether the NDK supports these features.
Despite the fact that it implements functions, CrystaX NDK is not an option, since it knows about failures when using with Boost according to the Boost mailing list.
So, if the NDK somehow implements these functions, why can't the NDK-build communicate with them? I can find a link to them in cstdlib in the NDK, and I believe that a flag can be set that I need to set, but I'm not sure how and where to do it.
If not, does anyone have any tips on how I can write them? I know something about what mbtowc and its add-on should do, but without much experience writing a low-level C and without much knowledge of the Android / ARM architecture, I could really use some tips on this.
source share