<div dir="ltr"><div>Hi <br></div><div>Can confirm that there is a problem, I made a docker for the developers to test the problem<br><br><a href="https://github.com/jorgejesus/gdal-ecw">https://github.com/jorgejesus/gdal-ecw</a><br><br></div><div><br></div><div>Jorge<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 3, 2018 at 12:04 AM, Jachym Cepicky <span dir="ltr"><<a href="mailto:jachym.cepicky@gmail.com" target="_blank">jachym.cepicky@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank">https://trac.osgeo.org/<wbr>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" target="_blank">https://download.<wbr>hexagongeospatial.com/<wbr>downloads/ecw/erdas-ecw-jp2-<wbr>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-<wbr>ECW_JPEG_2000_SDK-5.4.0/<wbr>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_<wbr>2000_SDK-5.4.0/Desktop_Read-<wbr>Only/lib/x64/release/<wbr>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/<wbr>apps'</div><div>/bin/bash /home/jachym/src/gdal/gdal/<wbr>libtool --mode=link --silent g++  gdalinfo_bin.lo  /home/jachym/src/gdal/gdal/<a href="http://libgdal.la" target="_blank">lib<wbr>gdal.la</a>  -o gdalinfo</div><div>/home/jachym/src/gdal/gdal/.<wbr>libs/libgdal.so: undefined reference to `NCS::CString::utf8_str(std::_<wbr>_cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) const'</div><div>/home/jachym/src/gdal/gdal/.<wbr>libs/libgdal.so: undefined reference to `NCS::CString::Utf8Encode(std:<wbr>:__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<<wbr>wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'</div><div>/home/jachym/src/gdal/gdal/.<wbr>libs/libgdal.so: undefined reference to `NCS::CView::SetTransformList(<wbr>int, std::__cxx11::list<NCS::API::<wbr>ITransform*, std::allocator<NCS::API::<wbr>ITransform*> >&)'</div><div>/home/jachym/src/gdal/gdal/.<wbr>libs/libgdal.so: undefined reference to `NCS::CString::Utf8Decode(std:<wbr>:__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/<wbr>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><span class="HOEnZb"><font color="#888888"><div><br></div><div>Jachym</div><div><br></div>-- <br><div dir="ltr" class="m_-1162532938450620229gmail_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/<wbr>JachymCepicky.pgp</a><br></div></font></span></div></div>
<br>______________________________<wbr>_________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/gdal-dev</a><br></blockquote></div><br></div>