[Gdal-dev] ECW and gdal-1.3.1 problem ?

Ivan Mjartan ivan.mjartan at geovap.cz
Wed Dec 21 08:06:29 EST 2005


Hi list
I tried to build gdal-1.3.1 library with ECW support.
And I was not successful,
At first I tried build gdal-1.3.1 with ECW SDK 2.46 but I was also not success.  So I download last version of  ECW SDK (3.3). 

Then start my C++ horror. 

I am not able compile ECW SDK with Visual Studio .Net 2003, a don't know why, I followed Build.txt, I downloaded latest Microsoft Platform SDK. And when I try build this library a get error 

midl : command line error MIDL1004 : cannot execute C preprocessor cl.exe

in the build log is:

NCSEcw : warning PRJ0041 : Cannot find missing dependency 'NCSEcw.tlb' for file 'NCSEcw.rc'.  Your project may still build, but may continue to appear out of date until this file is found.
Creating temporary file "c:\Projects\Gdal\gdal130\ecw\libecwj2-3.3\Source\C\NCSEcw\NCSEcw\Release\RSP000001.rsp" with contents
[
/I "..\..\..\include" /I "c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin" /env win32 /Oicf  /tlb ".\NCSEcw.tlb" /h "NCSEcwCom.h" /iid "NCSEcw_i.c"
".\NCSEcw.idl"]Creating command line "midl.exe @"c:\Projects\Gdal\gdal130\ecw\libecwj2-3.3\Source\C\NCSEcw\NCSEcw\Release\RSP000001.rsp" /nologo"Creating Type Library...Processing .\NCSEcw.idlmidl : command line error MIDL1004 : cannot execute C preprocessor cl.exe
 
What I am doing wrong?
And another questions Is last ECW SDK and GDAL -1.3.1 compatible? 
Can I get somewhere ECW binary? (I tried new ones from emapper.com) but there was not some headers.
Or have I wrong Microsoft Platform SDK installed (I tried this PSD-x86.exe from http://www.microsoft.com/msdownload/platformsdk/sdkupdate) 

Or If someone is successful in building last GDAL and Last ECW Could you tell me pleas step by step instruction how it is possible ?
 

Thanks a lot 

 

Ivan mjartan 

 

 

 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20051221/a4e1e6b2/attachment.html


More information about the Gdal-dev mailing list