[Gdal-dev] MrSID and GDAL daily build

Andrey Kiselev dron at ak4719.spb.edu
Wed May 5 01:48:59 EDT 2004


On Tue, May 04, 2004 at 03:18:06PM -0600, Chapman, Martin wrote:
> I downloaded the latest GDAL build from the ftp site (.zip), and when
> I add support for the MrSID driver in nmake.opt (VC++ 7) I get the
> following compiler error:
>  
> C:\gdal\frmts>cd mrsid   && nmake /NOLOGO /f makefile.vc   && cd ..
>         cl /nologo /Ox /MD /EHsc -I..\..\port -I..\..\ogr -I..\..\gcore
> c:\Software\MrSID\include -I..\gtiff\libgeotiff -DMRSID_DSDK_VERSION_32
> /c mrsiddataset.cpp
> cl : Command line warning D4029 : optimization is not available in the
> standard edition compiler
> cl : Command line warning D4024 : unrecognized source file type
> 'c:\Software\MrSID\include', object file assumed
> cl : Command line warning D4027 : source file
> 'c:\Software\MrSID\include' ignored

MRSID_INCLUDE should contain -I$(MRSID_DIR)\include, not just the
$(MRSID_DIR)\include. -I switch was lost in the nmake.opt. Now fixed.

						Andrey

-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517



More information about the Gdal-dev mailing list