Hi, I try to build gdal (`git checkout release 2.3`, but the same result I've got on master) with ECW support.
I followed the tutorial on https://trac.osgeo.org/gdal/wiki/ECW Downloaded sdk 5.4 for Linux from https://download.hexagongeospatial.com/downloads/ecw/erdas-ecw-jp2-sdk-v5-4-linux Installed to /opt/hexagon dir configured with $ ./configure --with-ecw=/opt/hexagon/ERDAS-ECW_JPEG_2000_SDK-5.4.0/Desktop_Read-Only/ made copy of libNCSEcw.so to /usr/local/lib $ 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/ $ sudo ldconfig And after running `make`, I've got ``` make[1]: Entering directory '/home/jachym/src/gdal/gdal/apps' /bin/bash /home/jachym/src/gdal/gdal/libtool --mode=link --silent g++ gdalinfo_bin.lo /home/jachym/src/gdal/gdal/libgdal.la -o gdalinfo /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' /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&)' /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*> >&)' /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&)' collect2: error: ld returned 1 exit status GNUmakefile:82: recipe for target 'gdalinfo' failed make[1]: *** [gdalinfo] Error 1 make[1]: Leaving directory '/home/jachym/src/gdal/gdal/apps' GNUmakefile:105: recipe for target 'apps-target' failed make: *** [apps-target] Error 2 ``` Any hint, what to try? Thank you Jachym -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
