[gdal-dev] Compiling with ECW/JP2ECW support enabled
Tomaka, Jacek
jacek.tomaka at hexagongeospatial.com
Tue Feb 16 21:26:39 PST 2016
HI Jonathan,
Have you tried compiling in ECW/JP2 support as a plugin?
Regards.
Jacek Tomaka
-----Original Message-----
From: gdal-dev [mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Jonathan Williams
Sent: Wednesday, 17 February 2016 4:51 AM
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] Compiling with ECW/JP2ECW support enabled
Hello,
In addition to my previous question regarding OpenCL support bafflement, I've run into difficulty compiling GDAL 2.02 with ECW support.
I've compiled with "--with-ecw=/usr/local/hexagon", as the 5.2 SDK is located there, and symlinked the /usr/local/hexagon/lib/(x64|x86)/release/libNCSEcw.so library to /usr/local/lib/libNCSEcw.so .
Configuration completes with no errors, as does compilation. The ./configure output indicates that support is selected, and config.log says all libraries were found.
However, the completed utilities do not list ecw as a readable format, and indeed, they cannot read ecw files (much less jpeg2000 ones).
I understand there have been libgdal-ecw scripts that some have run to enable support; however, I haven't found one for this situation (Ubuntu desktop 14.04.3 LTS 64 bit, with gdal 2.02).
Is it the case that these scripts also need to be run to enable ecw support? or am I foolishly missing something?
I see in the config.log that -ECW_FLAGS are set to '-DHAVE_ECW_BUILDNUMBER_H -DLINUX -DX86 -DPOSIX -DHAVE_COMPRESS -DECW_COMPRESS_RW_SDK_VERSION', and thought perhaps a 32 bit library had been selected; however, manually modifying the flag "DX86" to "DX64"
simply produced an error.
Any insight would be appreciated.
Best regards,
Jonathan Williams
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list