summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2011-02-05 05:51:46 +0000
committerdcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2011-02-05 05:51:46 +0000
commit5e0da9c06ceca705ad8897eaf24935307a1b558d (patch)
treee3903dd8b0bea836c445d7cc8d7bbba554ecc3f7
parent3f7f9907b408eee12693f7faba8e56ee87a607cc (diff)
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@345 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--trunk/java/README13
1 files changed, 13 insertions, 0 deletions
diff --git a/trunk/java/README b/trunk/java/README
index 5558f12..8b6f5bc 100644
--- a/trunk/java/README
+++ b/trunk/java/README
@@ -37,3 +37,16 @@ need to pass an argument of -Djava.library.path=/opt/libjpeg-turbo/lib to java.
If using a 64-bit data model, then instead pass an argument of
-Djava.library.path=/opt/libjpeg-turbo/lib/amd64 to use the 64-bit version of
libturbojpeg.so.
+
+
+Note for MinGW users
+--------------------
+
+When libjpeg-turbo is built with MinGW, the TurboJPEG/OSS dynamic library is
+named libturbojpeg.dll instead of turbojpeg.dll. This is in keeping with the
+convention of MinGW, and it also avoids a filename conflict when the GCC and
+Visual C++ versions of the libjpeg-turbo SDK are installed on the same system.
+However, the TurboJPEG/OSS JNI wrapper will not work on Windows unless the DLL
+is named turbojpeg.dll. You can work around this by renaming the DLL or by
+simply changing the LoadLibrary() calls in turbojpeg.java so that they load
+"libturbojpeg" instead of "turbojpeg".