c++ - Building a Unity exported Xcode project with LLVM and libc++ -


i'm attempting build xcode project exported unity llvm against libc++ (the llvm c++ standard library). project compiles , links against libstdc++ (the gnu c++ standard library).

if include "/usr/lib/libstdc++.dylib" amongst other linker flags resolves of issues leaves 1 problem:

undefined symbols architecture i386:   "__z21unitykeyboard_gettextpss", referenced from:   __znk16keyboardonscreen7gettextev in libiphone-lib.a(iphonekeyboard.o) 

it seems looking method void unitykeyboard_gettext(std::string* text) part of keyboard.mm.

when dump symbols keyboard.o get

00002900 t __z21unitykeyboard_gettextpnst3__112basic_stringicns_11char_traitsiceens_9allocatoriceeee 000161c0 s __z21unitykeyboard_gettextpnst3__112basic_stringicns_11char_traitsiceens_9allocatoriceeee.eh 

so mangled names seem incompatible when use libc++. there possible of way of resolving issue?


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -