mfkl / libvlc-nuget

NuGet packaging setup for LibVLC
GNU Lesser General Public License v2.1
63 stars 10 forks source link

initial macOS packaging #5

Closed mfkl closed 6 years ago

mfkl commented 6 years ago
mfkl commented 6 years ago

Bundling the dylibs inside the .app bundle works, but P/Invoke into them is still an issue... something to do with rpath stuff probably.

jeremyVignelles commented 6 years ago

Can you be more specific? is there an error message?

mfkl commented 6 years ago

I'll have a second look soon and let you know.

mfkl commented 6 years ago

Hitting

System.DllNotFoundException: Could not find the runtime library libxammac.dylib

When doing a P/Invoke with

<configuration>
    <dllmap dll="libvlc" target="@executable_path/lib/libvlc.5.dylib"/>
</configuration>

No idea if the paths are wrong or I'm missing other steps entirely... (dylib remapping or else)