Closed aseemgautam closed 6 years ago
Did you add a reference to /runtime.osx.10.10-x64.Quamotion.TurboJpegWrapper
? .dll
files don't work on macOS; you need .dylib
files and that package contains the dylib files.
So I was able to run this via adding a configuration setting -
<configuration>
<dllmap os="osx" dll="libturbojpeg.dll" target="libturbojpeg.dylib"/>
</configuration>
Is this ok or should I add a reference to runtime.osx.10.10-x64.Quamotion.TurboJpegWrapper
.
Sorry, didn't get the fact that you're using Mono. I've never tested this on Mono, but if this configuration works for you, no need to change it :)
.NET core on OS X High Sierra. Using VS for mac. Adding reference works well. Thanks.
Fixed via #6 .
I am getting this error on line -
TJCompressor compressor = new TJCompressor();
I have copied turbojpeg.dll file from the source project to bin/nuget folder. Does not work. Is there any additional step required to use this wrapper on OS X?