[Gdal-dev] compiling with mrsid support

Kirk McKelvey kmckelvey at lizardtech.com
Mon Mar 26 15:17:02 EDT 2007


Paul,

This is an incompatibility of our header file with gcc 3.4+; it was not
considered an error in previous versions of gcc. (Thanks to Mateusz
Loskot for pointing it out to us originally.)

To fix the issue in the header (lti_sceneBuffer.h), simply remove the
extra qualification from the inWindow declaration.  Line 356 should look
like this:

bool inWindow(lt_uint32 x, lt_uint32 y) const;

Kirk.
 

> -----Original Message-----
> From: gdal-dev-bounces at lists.maptools.org 
> [mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of 
> Paul Van Deusen
> Sent: Monday, March 26, 2007 11:52 AM
> To: gdal-dev at lists.maptools.org
> Subject: [Gdal-dev] compiling with mrsid support
> 
> Has anyone made notes recently on compiling gdal with mrsid support.
> 
> Here is what I did so far, but it failed.
> 1) download the DSDK from LizardTech
> 2) ./configure --with-mrsid=pathToDSDK
> 3)edited MRSID lines in nmake.opt to point to the DSDK 
> directory 4)gmake
> 
> I got this error:
> /home/pvandeus/downloads/gdal/Geo_DSDK-6.0.7.1407/include/base
> /lti_sceneBuffer.h:356:
> error: extra qualification 'LizardTech::LTISceneBuffer::' on 
> member 'inWindow'
> gmake[2]: *** [../o/mrsiddataset.o] Error 1
> gmake[2]: Leaving directory
> `/home/pvandeus/downloads/gdal/gdal-1.4.0/frmts/mrsid'
> gmake[1]: *** [mrsid-install-obj] Error 2
> gmake[1]: Leaving directory 
> `/home/pvandeus/downloads/gdal/gdal-1.4.0/frmts'
> gmake: *** [frmts-target] Error 2
> 
> 
> This is on a system running Fedora Core 6.
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
> 




More information about the Gdal-dev mailing list