[gdal-dev] ECW writing (was GTiff optimisation)

Even Rouault even.rouault at mines-paris.org
Tue Sep 6 08:12:33 EDT 2011


Selon Jean-Claude Repetto <jrepetto at free.fr>:

> Le 05/09/2011 19:24, Even Rouault a écrit :
> >
> >> If I add the libNCSEcwC.so library, it works:
> >>
> > I had updated configure.in and configure to include that new dependency. So
> try
> > ./configure again.
>
> I had run ./configure, so your changes are not sufficient, or there is
> another problem.
>
> I have noticed that libgdal.la contains :
>
> dependency_libs=' -R/usr/local/lib  -L/usr/lib64 -lgeos_c
> /usr/lib64/libsqlite3.la /usr/lib64/libexpat.la /usr/lib64/libNCSEcw.la
> /usr/lib64/libNCSCnet.la /usr/lib64/libNCSUtil.la -lgif
> /usr/lib64/libgeotiff.la -lproj /usr/lib64/libproj.la -ljpeg -ltiff
> -lpng -L/usr/lib64/postgresql-9.0/lib64 -lpq -lpthread -lcurl -lrt -lssl
> -lcrypto /usr/lib64/libgmp.la -ldl -lz'
>
> If I add /usr/lib64/libNCSEcwC.la to this list, it works.
> Sorry, but I don't know the autotools enough well to solve the problem
> myself.

Jean-Claude,

Thanks for reporting.

I believe this should be fixed now by http://trac.osgeo.org/gdal/changeset/23067
.

The case that was dealt with before was when using ./configure
--with-ecw=/the/path/to/install/dir , but not ./configure --with-ecw[=yes]
which, I presume, is your use case.

Please confirm if it works for you.

Even


More information about the gdal-dev mailing list