Last active
February 20, 2019 20:29
-
-
Save cquest/a40c82e0f95aef22f9c1b1289a6b6fcf to your computer and use it in GitHub Desktop.
HOWTO build gdal 2 with ECW 5.3 (tested with gdal 2.2 and 2.3 on ubuntu 16.04)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unzip erdas-ecw-sdk-5.3.0-linux.zip | |
chmod +x ERDAS_ECWJP2_SDK-5.3.0.bin | |
./ERDAS_ECWJP2_SDK-5.3.0.bin | |
sudo cp -r ~/hexagon/ERDAS-ECW_JPEG_2000_SDK-5.3.0/Desktop_Read-Only /usr/local/hexagon | |
ldconfig /usr/local/hexagon | |
cd gdal | |
CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" ./configure --with-ecw=/usr/local/hexagon --without-jpeg12 | |
make clean | |
make -j | |
make install |
+1
Hey all, with some help of this gist plus searching heaps around the internet for clues, here's a full script to compile GDAL with ECW support on Ubuntu 18.04 (but should work for 16.04 as well)
https://gist.github.com/1papaya/568c4580b1909071696c1cb119101823
What do u mean with cd gdal???
Do u mean cd /usr/share/gdal ????
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you have entire script to install ECW + GDAL ubuntu 16.04?