Hi,

I'm having trouble compiling GDAL 1.10.0 on Windows with the ERDAS ECW/JP2 
Read/Write SDK v4.3.6.25.

Thanks,
Scott


jp2userbox.cpp
jp2userbox.cpp(133) : error C2664: 'NCS::JP2::CBox::UnParse' : cannot convert 
parameter 1 from 'NCS::SDK::CFileBase' to 'NCS::JP2::CFile &'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 
9.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'for' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 
9.0\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.



I've also made changes to a couple of files to eliminate warnings in VS2008:

ecwcreatecopy.cpp
944c944
<         m_OStream.Access( fpVSIL, TRUE, bSeekable, pszFilename, 0, -1 );
---
>         m_OStream.Access( fpVSIL, TRUE, (BOOLEAN)bSeekable, pszFilename, 0, 
> -1 );

gdal_ecw.h
370c370
<                 GByte prevBuffer[] = { nCOMLength >> 8, nCOMLength & 0xff };
---
>                 GByte prevBuffer[] = { (GByte)(nCOMLength >> 8), 
> (GByte)(nCOMLength & 0xff) };
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to