<div dir="ltr">Hi,<div><br></div><div>I try to build gdal (`git checkout release 2.3`, but the same result I've got on master) with ECW support.</div><div><br></div><div>I followed the tutorial on <a href="https://trac.osgeo.org/gdal/wiki/ECW">https://trac.osgeo.org/gdal/wiki/ECW</a></div><div><br></div><div>Downloaded sdk 5.4 for Linux from <a href="https://download.hexagongeospatial.com/downloads/ecw/erdas-ecw-jp2-sdk-v5-4-linux">https://download.hexagongeospatial.com/downloads/ecw/erdas-ecw-jp2-sdk-v5-4-linux</a></div><div><br></div><div>Installed to /opt/hexagon dir</div><div><br></div><div>configured with</div><div><br></div><div><div>$ ./configure --with-ecw=/opt/hexagon/ERDAS-ECW_JPEG_2000_SDK-5.4.0/Desktop_Read-Only/</div></div><div><br></div><div>made copy of libNCSEcw.so to /usr/local/lib</div><div><br></div><div><div>$ sudo cp /opt/hexagon/ERDAS-ECW_JPEG_2000_SDK-5.4.0/Desktop_Read-Only/lib/x64/release/libNCSEcw.so.5.4.0 /usr/local/lib/</div></div><div>$ sudo ldconfig</div><div><br></div><div>And after running `make`, I've got</div><div><br></div><div>```</div><div><div>make[1]: Entering directory '/home/jachym/src/gdal/gdal/apps'</div><div>/bin/bash /home/jachym/src/gdal/gdal/libtool --mode=link --silent g++  gdalinfo_bin.lo  /home/jachym/src/gdal/gdal/<a href="http://libgdal.la">libgdal.la</a>  -o gdalinfo</div><div>/home/jachym/src/gdal/gdal/.libs/libgdal.so: undefined reference to `NCS::CString::utf8_str(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) const'</div><div>/home/jachym/src/gdal/gdal/.libs/libgdal.so: undefined reference to `NCS::CString::Utf8Encode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'</div><div>/home/jachym/src/gdal/gdal/.libs/libgdal.so: undefined reference to `NCS::CView::SetTransformList(int, std::__cxx11::list<NCS::API::ITransform*, std::allocator<NCS::API::ITransform*> >&)'</div><div>/home/jachym/src/gdal/gdal/.libs/libgdal.so: undefined reference to `NCS::CString::Utf8Decode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'</div><div>collect2: error: ld returned 1 exit status</div><div>GNUmakefile:82: recipe for target 'gdalinfo' failed</div><div>make[1]: *** [gdalinfo] Error 1</div><div>make[1]: Leaving directory '/home/jachym/src/gdal/gdal/apps'</div><div>GNUmakefile:105: recipe for target 'apps-target' failed</div><div>make: *** [apps-target] Error 2</div><div>```</div><div><br></div><div>Any hint, what to try?</div><div><br></div><div>Thank you</div><div><br></div><div>Jachym</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Jachym Cepicky<br>e-mail: jachym.cepicky gmail com<br>URL: <a href="http://les-ejk.cz" target="_blank">http://les-ejk.cz</a><br>GPG: <a href="http://les-ejk.cz/pgp/JachymCepicky.pgp" target="_blank">http://les-ejk.cz/pgp/JachymCepicky.pgp</a><br></div></div></div>