Skip to content

Instantly share code, notes, and snippets.

@fritzvd
Last active December 12, 2017 09:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fritzvd/5867088 to your computer and use it in GitHub Desktop.
Save fritzvd/5867088 to your computer and use it in GitHub Desktop.
libecw building for gdal
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable # unstable packages
sudo apt-get install build-essential gdal-bin gdal-config libgdal-ecw-src
wget http://meuk.technokrat.nl/libecwj2-3.3-2006-09-06.zip
unzip ~/Downloads/libecwj2-3.3.2006-09-06.zip
cd ~/Downloadslibecwj2-3.3.2006-09-06
./configure
make # wait
make install # or sudo make install
sudo gdal-ecw-build /usr/local
sudo ldconfig
gdalinfo --formats | grep -i ecw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment