Changes between Version 7 and Version 8 of MrSID


Ignore:
Timestamp:
Jan 12, 2011, 5:14:37 PM (13 years ago)
Author:
kirk
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MrSID

    v7 v8  
    33 * http://www.gdal.org/frmt_mrsid.html
    44 * http://www.gdal.org/frmt_jp2mrsid.html
     5 * http://www.gdal.org/frmt_mrsid_lidar.html
    56
    67= Building with MrSID SDK =
    78
    8 MrSID driver needs LizardTech decoding software development kit (DSDK). It is not free software, but you can download it without
    9 charge here: http://developer.lizardtech.com/ . To enable file creation capability you need encoding SDK (ESDK). You should contact [http://www.lizardtech.com LizardTech] to obtain it.
     9MrSID driver needs LizardTech decoding software development kit (DSDK). It is not free software, but you can download it without charge at http://developer.lizardtech.com/ . To enable file creation capability you need encoding SDK (ESDK). You should contact [http://www.lizardtech.com LizardTech] to obtain it.
     10
     11=== Windows Notes ===
     12
     13Build on Windows by setting MRSID_DIR in nmake.opt.  For example,
     14
     15{{{
     16MRSID_DIR = C:\path\to\MrSID_ESDK-8.0.0.3101
     17}}}
     18
     19For MrSID SDK version 8+, this will configure both the mrsid and mrsid_lidar drivers.  These drivers can still be configured individually for previous versions of the MrSID SDK:
     20
     21{{{
     22MRSID_RASTER_DIR = C:\path\to\Geo_DSDK-7.0.1.2194
     23MRSID_LIDAR_DIR = C:\path\to\Lidar_DSDK-1.1.0.2814
     24}}}
     25
     26The driver can also be configured to handle JPEG 2000 files by setting:
     27
     28{{{
     29MRSID_JP2 = YES
     30}}}
     31
     32The MrSID driver supports being built as a plugin:
     33
     34{{{
     35MRSID_PLUGIN = YES
     36MRSID_LIDAR_PLUGIN = YES
     37}}}
     38
     39=== Unix Notes ===
     40
     41Build on Unix using the --with-mrsid and --with-mrsid_lidar options to configure.  These should indicate the paths to the MrSID Raster SDK and the MrSID LiDAR SDK, respectively.  Use the MrSID SDK to read JPEG 2000 files by specifying --with-jp2mrsid.
     42
     43{{{
     44$ ./configure --with-mrsid=/path/to/MrSID_ESDK-8.0.0.3101/Raster_DSDK \
     45              --with-mrsid_lidar=/path/to/MrSID_ESDK-8.0.0.3101/Lidar_DSDK \
     46              --with-jp2mrsid
     47}}}
    1048
    1149The DSDK is distributed in binary form and if you are using GCC, please, ensure that you have the same compiler as was used for DSDK compilation. It is C++ library, so you may get incompatibilities in C++ name mangling among different GCC versions (2.95.x and 3.x).
     
    1351Note on using [http://www.gnu.org/software/libtool/ GNU Libtool], users have confirmed that GDAL with MrSID builds successfully with or without libtool support (configure options: ''--with-libtool'' and ''--without-libtool'').
    1452
    15 == ABI incompatibilities with libgeotiff 1.3.0 or internal libgeotiff of GDAL 1.7.0 or later ==
     53= Known Issues =
    1654
    17 At the time of writing, the current DSDK binaries rely on the ABI of pre-1.3.0 libgeotiff. So when linking GDAL against libgeotiff >= 1.3.0 or internal libgeotiff of GDAL 1.7.0, you might encounter crashes on some platforms (verified on Fedora 12, 32 bit for example). A workaround is to compile GDAL with libgeotiff 1.2.5 or wait for LizardTech to issue new binaries compiled against libgeotiff 1.3.0. See [http://trac.osgeo.org/gdal/ticket/3309 ticket 3309] for details.
     55=== ABI incompatibilities with libgeotiff 1.3.0 or internal libgeotiff of GDAL 1.7.0 or later (historical) ===
    1856
    19 == Extra qualification error (C++) ==
     57Pre-8.0.0 MrSID SDK releases rely on the ABI of pre-1.3.0 libgeotiff. So when linking GDAL against libgeotiff >= 1.3.0 or internal libgeotiff of GDAL 1.7.0, you might encounter crashes on some platforms (verified on Fedora 12, 32 bit for example). A workaround is to compile GDAL with libgeotiff 1.2.5 or use a newer version of the MrSID SDK (version 8.0.0 or higher). See [http://trac.osgeo.org/gdal/ticket/3309 ticket 3309] for details.
    2058
    21 Some folks have reported the following building on unix:
     59=== Extra qualification error (historical) ===
     60
     61There is an incompatibility of pre-7.0.0 versions of the MrSID SDK header lti_sceneBuffer.h with gcc 3.4+; it was not considered an error in previous versions of gcc. (Thanks to Mateusz
     62Loskot for pointing it out to us originally.)
    2263
    2364{{{
     
    4485}}}
    4586
    46 This is an incompatibility of the MrSID SDK header file with gcc 3.4+; it was not considered an error in previous versions of gcc. (Thanks to Mateusz
    47 Loskot for pointing it out to us originally.)
    48 
    49 To fix the issue in the header (lti_sceneBuffer.h), simply remove the extra qualification from the inWindow declaration.  Line 356 should look like this:
     87This can be fixed manually in the header (lti_sceneBuffer.h) by removing the extra qualification from the inWindow declaration.  Line 356 should look like this:
    5088
    5189{{{