[gdal-dev] gdal 2.3 ecw 5.4
Even Rouault
even.rouault at spatialys.com
Wed May 2 15:24:41 PDT 2018
On mercredi 2 mai 2018 22:04:24 CEST Jachym Cepicky wrote:
> Hi,
>
> I try to build gdal (`git checkout release 2.3`, but the same result I've
> got on master) with ECW support.
>
> I followed the tutorial on https://trac.osgeo.org/gdal/wiki/ECW
>
> Downloaded sdk 5.4 for Linux from
> https://download.hexagongeospatial.com/downloads/ecw/erdas-ecw-jp2-sdk-v5-4-> linux
>
> Installed to /opt/hexagon dir
>
> configured with
>
> $ ./configure
> --with-ecw=/opt/hexagon/ERDAS-ECW_JPEG_2000_SDK-5.4.0/Desktop_Read-Only/
>
> made copy of libNCSEcw.so to /usr/local/lib
>
> $ sudo cp
> /opt/hexagon/ERDAS-ECW_JPEG_2000_SDK-5.4.0/Desktop_Read-Only/lib/x64/release
> /libNCSEcw.so.5.4.0 /usr/local/lib/
Jachym,
That .so uses the 'old' C++ ABI
If you use gcc 5.1 or later, you need to use
ERDAS-ECW_JPEG_2000_SDK-5.4.0/Desktop_Read-Only/lib/newabi/x64/release/
libNCSEcw.so
(note the additional newabi/ subdirectory in the path)
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180503/af8f45d1/attachment.html>
More information about the gdal-dev
mailing list