| 1 | = gdal17-ecw = |
| 2 | |
| 3 | * Plugin for ECW and JPEG2000 Raster Formats for GDAL 1.7 |
| 4 | * Requires gdal17 |
| 5 | * Maintainer is FrankWarmerdam. |
| 6 | |
| 7 | == Installing ECW SDK == |
| 8 | |
| 9 | The GDAL ECW Plugin requires the ECW 4.1 Runtime libraries which the end user is required to download and install directly from the Erdas Web Site directly. |
| 10 | |
| 11 | Erdas Web Site: http://downloads.erdas.com/reqdownload.aspx?guid=53e5b5ff-3591-4dcc-ac74-5aa985ab9ffd |
| 12 | |
| 13 | After installation, please copy the .dll files in the redistributable\vc90\win32\ directory somewhere appropriate, like C:\windows\system32 or C:\OSGeo4w\bin |
| 14 | |
| 15 | eg. |
| 16 | {{{ |
| 17 | copy C:\"Program Files\ERDAS\ERDAS ECW JPEG2000 Read SDK\redistributable\vc90\win32\*.dll" C:\windows\system32 |
| 18 | }}} |
| 19 | |
| 20 | Note that downloading and installing these DLLs requires agreeing to a license. Please review the license terms carefully. |
| 21 | |
| 22 | It is imperative that the ECW SDK 4.1 be used (ECWJP2SDKSetup_RO_20100920.exe). 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.dll was not found." or a console error report like: |
| 23 | |
| 24 | {{{ |
| 25 | C:\warmerda>gdalinfo |
| 26 | ERROR 1: Can't load requested DLL: C:\osgeo4w\apps\gdal-17\bin\gdalplugins\gdal_ECW_JP2ECW.dll |
| 27 | 126: The specified module could not be found. |
| 28 | |
| 29 | Usage: gdalinfo [--help-general] [-mm] [-stats] [-nogcp] [-nomd] |
| 30 | [-noct] [-checksum] [-mdd domain]* datasetname |
| 31 | }}} |
| 32 | |
| 33 | ''Warning:'' The plugin was built with VC9.0 (Visual Studio 2008) but is used with GDAL 1.7 binaries built with Visual Studio 2003 (VC7.1). While this somewhat surprising seems to work on the development system, it is not considered a safe practice for C++ linkage interfaces. The ECW SDK 4.1 (20100920) appears to be a beta/prerelease. It is possible the final release of the ECW 4.1 SDK may be incompatible, in which case an upgrade will be made to this plugin package and end users will need to upgrade to the newer SDK. This OSGeo4W package should not be considered "release" quality. |