[gdal-dev] Fw: Building GDAL with ECW support

pteroglossus at pm.me pteroglossus at pm.me
Wed Feb 3 16:55:29 PST 2021


Installing libproj-dev did the trick, I was able to run the config file, rename/copy the necessary folders in the SDK, then "make"/ "make install", encountered some issues during the process but:

k at k-GS60-6QE:~/bin/gdal/gdal-3.1.4$ gdalinfo --version
GDAL 3.1.4, released 2020/10/20
k at k-GS60-6QE:~/bin/gdal/gdal-3.1.4$ gdalinfo --formats|grep ECW
  ECW -raster- (rw+): ERDAS Compressed Wavelets (SDK 5.5)
  JP2ECW -raster,vector- (rw+v): ERDAS JPEG2000 (SDK 5.5)

This means it worked, doesn't it? :)

One last question if you don't mind, now that GDAL is installed and configured, should I simply reinstall GRASS using apt-get and import my layers and voilà? Or is there any step I should take beforehand?

Cheers,
Kevin

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, February 3, 2021 6:28 AM, Richard Duivenvoorde <rdmailings at duif.net> wrote:

> On 2/3/21 2:20 AM, Pteroglossus via gdal-dev wrote:
>
> > I did my best to thoroughly follow Richard's notes using the 5.5.0 ECW SDK and gdal 3.1.4... No luck, the "configure" command now fails halfway it seems, although it did work for my first try:
> > https://pastebin.com/rSZfPRS0
>
> Looks like you are missing a recent libproj and/or libproj-dev or so...
> You are almost there, after the configure it is just 'make install' :-)
>
> Working with the docker image, is also a good alternative! But... you have to make yourself a little familiar with Docker then...
>
> Regards,
>
> Richard




More information about the gdal-dev mailing list