Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Problems linking native library with Xamarin.iOS 7.2.1.42

$
0
0

I updated to Xamarin.iOS 7.2.1.42 today and I am now getting lots of MT5210 (Native linking failed, undefined symbol) errors with my native C++ library. I have read the notes here and have tried to use the legacy registrar settings, but without any luck...

Here are my additional mtouch arguments (for Simulator) that worked before updating to 7.2.1.42:

-cxx -gcc_flags "-L${SolutionDir}/${ProjectDir}/libs/ -lmylibrary -force_load ${SolutionDir}/${ProjectDir}/libs/libmylibrary.a" --registrar:dynamic

And I've tried changing them to:

-cxx -gcc_flags "-L${SolutionDir}/${ProjectDir}/libs/ -lmylibrary -force_load ${SolutionDir}/${ProjectDir}/libs/libmylibrary.a" --registrar:olddynamic

and

-cxx -gcc_flags "-L${SolutionDir}/${ProjectDir}/libs/ -lmylibrary -force_load ${SolutionDir}/${ProjectDir}/libs/libmylibrary.a" --registrar:legacy

without any luck.

Additionally, I've tried wrapping this library in a binding project and I get the same errors.

Any ideas?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>