Le 01/09/2011 14:12, Even Rouault a écrit :
Le jeudi 01 septembre 2011 01:56:04, Pinner, Luke a écrit :
Does this apply to the 4.x read-only version of the ERDAS ECW/JP2 SDK as
well as the old 3.3 SDK?

I've just commited a new changeset. Now the support for updating the header info
has been successfully tested on Linux 64bit with 3.3 SDK, Windows 32bit with 3.3
SDK and Windows 32bit with 4.2 Read-Only SDK.

Hi,

I have a problem related to this change.

I have downloaded the SVN version of GDAL, and tried to compile it. But it fails:

/bin/sh /home/jcr/gdal/libtool --mode=link g++ gdalinfo.lo /home/jcr/gdal/libgdal.la -o gdalinfo libtool: link: g++ .libs/gdalinfo.o -o .libs/gdalinfo /home/jcr/gdal/.libs/libgdal.so -L/usr/lib64 -L/usr/lib64/postgresql-9.0/lib64 -lgeos_c /usr/lib64/libsqlite3.so /usr/lib64/libexpat.so /usr/lib64/libNCSEcw.so /usr/lib64/libNCSCnet.so /usr/lib64/libNCSUtil.so -lgif /usr/lib64/libgeotiff.so /usr/lib64/libproj.so -lm -ljpeg -ltiff -lpng -lpq -lpthread -lcurl -lrt -lssl -lcrypto /usr/lib64/libgmp.so -ldl -lz
/home/jcr/gdal/.libs/libgdal.so: undefined reference to `NCSEcwEditReadInfo'
/home/jcr/gdal/.libs/libgdal.so: undefined reference to `NCSEcwEditWriteInfo'
/home/jcr/gdal/.libs/libgdal.so: undefined reference to `NCSEcwEditFreeInfo'
collect2: ld returned 1 exit status

If I add the libNCSEcwC.so library, it works:

g++ .libs/gdalinfo.o -o .libs/gdalinfo /home/jcr/gdal/.libs/libgdal.so -L/usr/lib64 -L/usr/lib64/postgresql-9.0/lib64 -lgeos_c /usr/lib64/libsqlite3.so /usr/lib64/libexpat.so /usr/lib64/libNCSEcw.so /usr/lib64/libNCSEcwC.so /usr/lib64/libNCSCnet.so /usr/lib64/libNCSUtil.so -lgif /usr/lib64/libgeotiff.so /usr/lib64/libproj.so -lm -ljpeg -ltiff -lpng -lpq -lpthread -lcurl -lrt -lssl -lcrypto /usr/lib64/libgmp.so -ldl -lz

I am using libecwj2-3.3 on Linux 64 bits (Gentoo).

Jean-Claude
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to