[gdal-dev] ERDAS/Intergraph ECW/JP2 compile problem in 1.10.0
Reynolds, Scott
scott at agi.com
Fri Jun 21 08:50:34 PDT 2013
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) };
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130621/072b8033/attachment.html>
More information about the gdal-dev
mailing list