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

Load native libraries in Xamarin Mac

$
0
0

Hi,

I have an issue for load 3 native libraries.

When I build my project, I have 3 warnings:

Warning MM2006: Native library 'libopusfm' was referenced but could not be found. (MM2006)

Warning MM2006: Native library 'libvpxfm' was referenced but could not be found. (MM2006)

Warning MM2006: Native library 'libyuvfm' was referenced but could not be found. (MM2006)

When I launch my project via Visual Studio, my app crash. However when I launch my app via these command lines:

$ DYLD_LIBRARY_PATH=/My/Project/Path/libs/native
$ /My/Project/Path/App.app/Contents/MacOS/App

It works.

Have you an idea why I can't load that with Visual studio?

In my csproj file:

I tested with
Variable: DYLD_LIBRARY_PATH
Value: /My/Project/Path/libs/native
In my project settings and It doesn't work. (And It's not the best idea..)

Thank you in advance.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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