Changes between Version 7 and Version 8 of MrSID
- Timestamp:
- Jan 12, 2011, 5:14:37 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MrSID
v7 v8 3 3 * http://www.gdal.org/frmt_mrsid.html 4 4 * http://www.gdal.org/frmt_jp2mrsid.html 5 * http://www.gdal.org/frmt_mrsid_lidar.html 5 6 6 7 = Building with MrSID SDK = 7 8 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. 9 MrSID 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 13 Build on Windows by setting MRSID_DIR in nmake.opt. For example, 14 15 {{{ 16 MRSID_DIR = C:\path\to\MrSID_ESDK-8.0.0.3101 17 }}} 18 19 For 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 {{{ 22 MRSID_RASTER_DIR = C:\path\to\Geo_DSDK-7.0.1.2194 23 MRSID_LIDAR_DIR = C:\path\to\Lidar_DSDK-1.1.0.2814 24 }}} 25 26 The driver can also be configured to handle JPEG 2000 files by setting: 27 28 {{{ 29 MRSID_JP2 = YES 30 }}} 31 32 The MrSID driver supports being built as a plugin: 33 34 {{{ 35 MRSID_PLUGIN = YES 36 MRSID_LIDAR_PLUGIN = YES 37 }}} 38 39 === Unix Notes === 40 41 Build 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 }}} 10 48 11 49 The 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). … … 13 51 Note 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''). 14 52 15 = = ABI incompatibilities with libgeotiff 1.3.0 or internal libgeotiff of GDAL 1.7.0 or later ==53 = Known Issues = 16 54 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) === 18 56 19 == Extra qualification error (C++) == 57 Pre-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. 20 58 21 Some folks have reported the following building on unix: 59 === Extra qualification error (historical) === 60 61 There 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 62 Loskot for pointing it out to us originally.) 22 63 23 64 {{{ … … 44 85 }}} 45 86 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: 87 This 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: 50 88 51 89 {{{