[Gdal-dev] MrSID and GDAL daily build

Daniel daniel112 at home.se
Wed May 5 02:48:59 EDT 2004


Hi!

Looks like you are missing a -I before c:\Software\MrSID\include in the 
call to cl

Regards,
    Daniel

Chapman, Martin wrote:

> All,
>  
> 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
> mrsiddataset.cpp
> mrsiddataset.cpp(392) : fatal error C1083: Cannot open include file: 
> 'lt_fileUtils.h': No such file or directory
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: 'for' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
> .NET 2003\VC7\BIN\nmake.exe"' : return code '0x2'
> Stop.
>  
>  
> The include path c:\Software\MrSID\include is a valid path to the 
> MrSID 3.2.1 driver.  Can anyone help me out on what might be wrong?  
> It kind of looks like it didn't like 'c:\Software\MrSID\include'.
>  
> Thanks,
>  
> Martin Chapman
> Cell 303-885-1936
> Office 303-660-3933 x226
> mchapman at sanz.com <mailto:mchapman at sanz.com>
> http://www.sanz.com <http://www.sanz.com/>
>  
>  





More information about the Gdal-dev mailing list