[odb-users] ODB on Android

Wolfgang Haupt haupt.wolfgang at gmail.com
Tue Apr 14 11:03:49 EDT 2020


On 14.04.20 16:59, Boris Kolpackov wrote:
> c.sell at byterefinery.de <c.sell at byterefinery.de> writes:
>
>> Your boost library was built with libc++ (you can tell because it has
>> references to std::__ndk1::* rather than just std::*). You need to use
>> libc++, not gnustl.
> Hm, I don't think this is the same problem.
Yeah it's definitely not the same problem, I don't even use boost.
And I only have this 3 errors in a million line project, the project is 
built
against libc++ wich is default in NDK 17.
If it was the same issue, I'd probably get thousands of similar errors.
>
>
>>> My run with NDK 17c finished, everything compiled but I'm stuck with a
>>> linker error.
>>>
>>> undefined reference to 'std::__ndk1::codecvt<char, char, __mbstate_t>::id'
> This looks like some kind of misconfiguration. Can you make sure you
> rebuild all the libodb* libraries for this new NDK (if they were
> still built with the other version this would explain the error).
>
> If this doesn't help, google "undefined reference std::__ndk1::codecvt
> Android" (without quotes) -- people seem to have this issue with
> various solutions (upgrade CMake, change project settings, etc).

Yeah I suspected a similar issue, until now I couldn't figure out what's 
causing it.
Googling didn't help so far.
I removed all my libs again and rebuilt everything from scratch and 
still get this, so I'm a bit puzzled.

Anyway thanks for your thoughts so far.



More information about the odb-users mailing list