Yes. MinGW automatically prefixes DLLs and import libraries with "lib",
in order to mimic Un*x library naming conventions. We've always just
rolled with that rather than trying to force the MinGW libraries to be
named the same as the Visual C++ libraries. If you use the
turbojpeg.jar file included with our MinGW packages, then it will
automatically load libturbojpeg.dll rather than turbojpeg.dll.
On 3/7/19 8:53 AM, Lorenzo Pini wrote:
> Hi all,
> first of all I have to apologize if this is the expected behavior.
>
> I noticed the released packages for windows have different DLL names
> between the gcc and the vc version.
>
> libjpeg-turbo-2.0.2-gcc64.exe contains libturbojpeg.dll
> libjpeg-turbo-2.0.2-vc64.exe contains turbojpeg.dll
>
> I am loading the library from Java withSystem.loadLibrary("turbojpeg")