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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What do u mean with cd gdal???
Do u mean cd /usr/share/gdal ????