I write about science and technology, mostly. I live in the Port Stephens area in Australia and love my garden.
coworker tried to build/install/use gdal with ECW file type support.
it was difficult. you need the ECW drivers from Hexagon Spatial:
https://download.hexagongeospatial.com/en/downloads/ecw/erdas-ecw-jp2-sdk-v5-5-update-2-windows
2.5 methods that worked:
gdalinfo --formats
and look for ECW
in the outputcmake -DECW_INCLUDE_DIR="/path/to/dll" -DECW_LIBRARY="/path/to/other/DLL"
other cmake steps as normal
gdalinfo --formats
and look for ECW
in the output