Bug report #6838

ecw support broken in Qgis 1.9.0-Alpha from OSGeo4W, gdal1.9.2, win7, 64bit

Added by Gerhard Spieles about 11 years ago. Updated about 11 years ago.

Affected QGIS version:master Regression?:No
Operating System:win Easy fix?:No
Pull Request or Patch supplied:No Resolution:upstream
Crashes QGIS or corrupts data:No Copied to github as #:15975


In QGIS 1.9.0 Alpha, ECW is not shown as supported Raster Format.
Gdalinfo reports, that NCSEcw4_RO.dll and other dlls are missing.
I installed sdk4.2 from ERDAS.
After restart, gdalinfo reports:
Can not load requested DLL: C:\\OSGeo4W\\\\bin\\gdalplugins\\1.9\\gdal_ECW_JP2ECW.dll
193: %1 ist keine zulässige Win32-Anwendung

jpg is attached.

2012.12.07_ecw_support_broken_gdal192_win7_x64.jpg (103 KB) Gerhard Spieles, 2012-12-07 01:36 PM

2012.12.08_ecw_support_ok_gdal192_win7_x64.jpg (162 KB) Gerhard Spieles, 2012-12-08 02:52 AM


#1 Updated by Jürgen Fischer about 11 years ago

  • Resolution set to upstream
  • Status changed from Open to Closed

The ECW plugin in OSGeo4W is marked as obsolete. For now ECW is unsupported in OSGeo4W - the licensing is unclear.

See also http://lists.osgeo.org/pipermail/qgis-developer/2012-November/023228.html

#2 Updated by Gerhard Spieles about 11 years ago

Hello Juergen,

first i copied the sdk vc 10 win32 dll in the gdalplugin, 1,9 directory and the system32 folder in windows. This was the solution in the gdal 1.9.0 version.

Now i copied the dlls directly in the bin path: "C:\\OSGeo4W\\bin" and ecw is supported now in gdal 1.9.2 (see attached jpg)

It is good to have ecw support, because the format is often used.


#3 Updated by Jürgen Fischer about 11 years ago

  • Status changed from Reopened to Closed

This is not an QGIS issue - if GDAL has ECW support, QGIS will use it. But GDAL in OSGeo4W currently doesn't have ECW support (the old plugin might even break the newer GDAL - so it was marked obsolete there).

See OSGeo4W #337

#4 Updated by stefano campus about 11 years ago

please, gespiel, can you explain more deeply how you have made that?

Also available in: Atom PDF