| 1 | = gdal18-ecw = |
| 2 | |
| 3 | * Read-only plugin for ECW and JPEG2000 Raster Formats for GDAL 1.8 |
| 4 | * Requires gdal18 and manually-installed ECW 4.1 Runtime libraries |
| 5 | * Write support for ECW and JPEG2000 via the ECW SDK is not available as part of OSGeo4W |
| 6 | * Maintainer is FrankWarmerdam |
| 7 | |
| 8 | == Installing ECW SDK == |
| 9 | |
| 10 | The GDAL ECW Plugin requires the ECW 4.1 Runtime library, which is by ERDAS. In order to use the runtime libraries, the end user is required to download and install the DLLs into a system directory. |
| 11 | |
| 12 | Download "ERDAS ECW/JP2 SDK Desktop Read-Only Version 4.1" ECWJP2SDKSetup_RO_20100920.exe: http://downloads.erdas.com/reqdownload.aspx?guid=dff76d5e-8c03-4d3d-a1df-7c1422a6e1e9 |
| 13 | |
| 14 | After downloading and installing the ECW SDK it is necessary to copy the runtime DLLs from the {{{redistributable\vc90\win32\}}} directory to somewhere appropriate, like {{{C:\Windows\system32}}} (32-bit Windows), {{{C:\Windows\SysWOW64}}} (64-bit Windows), or {{{C:\OSGeo4w\bin}}}. |
| 15 | |
| 16 | E.g.: |
| 17 | {{{ |
| 18 | copy "C:\Program Files\ERDAS\ERDAS ECW JPEG2000 Read SDK\redistributable\vc90\win32\*.dll" C:\Windows\system32 |
| 19 | }}} |
| 20 | |
| 21 | Or on a 64-bit version of Windows: |
| 22 | {{{ |
| 23 | copy "C:\Program Files (x86)\ERDAS\ERDAS ECW JPEG2000 Read SDK\redistributable\vc90\win32\*.dll" C:\Windows\SysWOW64 |
| 24 | }}} |
| 25 | |
| 26 | Note that downloading and installing these DLLs requires agreeing to a license. Please review the license terms carefully. |
| 27 | |
| 28 | It is imperative that the VC9 ECW 4.1 SDK binaries be used. Any other ECW (NCS*) DLLs are unlikely to work properly. Failure to install the correct ECW libraries will normally result in a popup message reading "This application has failed to start because NCSEcw4_RO.dll was not found." or a console error report like: |
| 29 | |
| 30 | {{{ |
| 31 | C:\warmerda>gdalinfo |
| 32 | ERROR 1: Can't load requested DLL: C:\osgeo4w\bin\gdalplugins\1.8\gdal_ECW_JP2ECW.dll |
| 33 | 126: The specified module could not be found. |
| 34 | |
| 35 | ERROR 1: Can't load requested DLL: C:\osgeo4w\bin\gdalplugins\1.8\gdal_ECW_JP2ECW.dll |
| 36 | 126: The specified module could not be found. |
| 37 | |
| 38 | Usage: gdalinfo [--help-general] [-mm] [-stats] [-hist] [-nogcp] [-nomd] |
| 39 | [-norat] [-noct] [-checksum] [-mdd domain]* datasetname |
| 40 | }}} |