[gdal-dev] Problems with libecwj2-ms.dll

umn-ms at hydrotec.de umn-ms at hydrotec.de
Thu Apr 24 10:47:54 EDT 2008


Hello

I'd like to build gdal 1.5.1 with ECW-Support (ECW-SDK 3.3) and MS-VC 8.0.
I get a linker-error:
u:\ws\mapserver\gdal-1.5.1\ecw\libecwj2.dll : fatal error LNK1107: invalid 
or corrupt file: cannot read at 0x290

I tried 
http://download.osgeo.org/gdal/win32/1.5/gdalwin32exe150.zip 
and 
http://trac.osgeo.org/gdal/attachment/ticket/2200/libecwj2.zip?format=raw
with the same result.

Any advise?
Benedikt Rothe


      lib /nologo /out:gdal.lib port\*.obj gcore\*.obj alg\*.obj 
frmts\o\*.obj ogr\ogrsf_frmts\ogrsf_frmts.lib ogr\ogr.lib 
vb6\vb6_support.obj
ogrsf_frmts.lib(parsexsd.obj) : warning LNK4221: no public symbols found; 
archive member will be inaccessible

        link /nologo /dll /debug /INCLUDE:_OGRFeatureStylePuller 
/INCLUDE:_OSRValidate  /INCLUDE:_OPTGetProjectionMethods 
/INCLUDE:_OGR_G_GetPointCount  /INCLUDE:_OGRRegisterAll 
/INCLUDE:_GDALSimpleImageWarp at 36  /INCLUDE:_GDALReprojectImage at 48 
/INCLUDE:_GDALComputeMedianCutPCT at 32  /INCLUDE:_GDALDitherRGB2PCT at 28 
/INCLUDE:_OCTNewCoordinateTransformation at 8 /INCLUDE:_vbSafeArrayToPtr at 16 
port\*.obj gcore\*.obj alg\*.obj frmts\o\*.obj 
ogr\ogrsf_frmts\ogrsf_frmts.lib ogr\ogr.lib vb6\vb6_support.obj odbc32.lib 
odbccp32.lib user32.lib  u:\ws\mapserver\gdal-1.5.1\ecw\libecwj2.dll 
gcore\Version.res  /out:gdal15.dll /implib:gdal_i.lib
u:\ws\mapserver\gdal-1.5.1\ecw\libecwj2.dll : fatal error LNK1107: invalid 
or corrupt file: cannot read at 0x290
NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio 
8\VC\BIN\link.EXE"' : return code '0x453'
Stop.


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


More information about the gdal-dev mailing list