[Gdal-dev] gdal1.2.3 - ecw - solaris

Frédéric Trastour dev at spaceyes.fr
Wed Oct 6 05:20:55 EDT 2004


Hello,

on solaris, when i specify "--with-ecw=<dir>", the include directory "<dir>/include" is added
to the CPPFLAGS variable in GDALmake.opt.

The problem is that variable is reaffected in the GNUmakefile of frmts/ecw and the ECW
headers are not found.

If i change the line (in frmts/ecw/GNUmakefile) :

CPPFLAGS =  $(GDAL_INCLUDE) -DFRMT_ecw

by

CPPFLAGS +=  $(GDAL_INCLUDE) -DFRMT_ecw

the corrects the problem.

Perhaps this should be corrected for the next release...

Regards.
_________________________________________________________________
Frédéric Trastour - SpacEyes - dev at spaceyes.fr





More information about the Gdal-dev mailing list