Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#3344 closed defect (wontfix)

Compiling ECW support on Linux fails

Reported by: rst Owned by: warmerdam
Priority: normal Milestone:
Component: ConfigBuild Version: svn-trunk
Severity: normal Keywords: ecw linux


The ECW SDK / libecwj2-3.3 seems to require two compiler defs to succeed:


Fedora release 8 (Werewolf) x86_64 gcc 4.1.2 20070925 (Red Hat 4.1.2-33) GDAL gdalsvn-trunk-20091012

Change History (4)

comment:1 by Even Rouault, 12 years ago

Resolution: invalid
Status: newclosed

This does not look like a GDAL issue, so I close it for the same reasons as in #3162. You might want to mention your findings in however.

comment:2 by rst, 12 years ago

Resolution: invalid
Status: closedreopened

Sorry, seems I wasn't clear enough - it should read 'compiling GDAL with ECW support requires the extra defs to succeed'.

I think the configure should add the defs in GDALmake.opt - output being like this:

CPPFLAGS = -D_REENTRANT -I$(GDAL_ROOT)/port -I/mnt/sdi/GDAL/libecwj2-3.3/include -DLINUX -DPOSIX

comment:3 by warmerdam, 11 years ago

Resolution: wontfix
Status: reopenedclosed

I've actually taken to embedding extra flags in NCSTypes.h in my local copy of 3.3 rather than cludging up the GDAL build and configuration code. I have added a note about this issue in the ECW building wiki page.

comment:4 by warmerdam, 11 years ago

Component: defaultConfigBuild
Milestone: 1.7.0
Note: See TracTickets for help on using tickets.