linker - Linking failure with a MonoTouch native library binding -


i creating native library binding wikitude sdk.

the monotouch app fails linking:

undefined symbols architecture armv7:
"std::__1::basic_string, std::__1::allocator >::find_last_of(char const*, unsigned long, unsigned long) const", referenced from: wtunzip::unzipfileto(char const*, bool)in wikitudesdk.a(wtunzip.o) ...

my linkwith:

[assembly: linkwith ("wikitudesdk.a", linktarget.armv7, frameworks = "corevideo security systemconfiguration coremedia avfoundation cfnetwork corelocation coremotion mediaplayer opengles quartzcore coregraphics", forceload = true, linkerflags = "-lsqlite3.0 -objc", iscxx = true)] 

i have admit new monotouch/ios world, trying head out of water.

what should app link?

i figured needed add libc++ in linkwith. new linkwith looks this:

[assembly: linkwith ("wikitudesdk.a", linktarget.armv7, frameworks = "corevideo security systemconfiguration coremedia avfoundation cfnetwork corelocation coremotion mediaplayer opengles quartzcore coregraphics", forceload = true, linkerflags = "-lsqlite3.0 -objc -lc++", iscxx = true)] 

hopefully can others.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -