[PATCH] ECW support on Linux (std::length_error exception) with GCC 4.7
|Reported by:||danitool||Owned by:||warmerdam|
I'm using Arch-Linux OS, some time ago gdal stopped working after some upgrades in my system (I don't know which upgrade was the culprit). This is the error when I try to open an ECW file:
[dani@tool ~]$ gdalinfo PNOA_MR_OF_ETRS89_HU29_h50_0185.ecw terminate called after throwing an instance of 'std::length_error' what(): basic_string::_S_create Aborted [dani@tool ~]$
I tried several ecw files, with the same result.
Gdal was built with ECW (3.3 SDK) support using a standard procedure as suggested in http://trac.osgeo.org/gdal/wiki/ECW Tools used for compiling all stuff are the latest ones. GCC version is 4.7.2.
Any suggestion to solve this problem would be appreciated.