<br><font size=2 face="Arial">Ups! I tried to link a DLL!</font>
<br><font size=2 face="Arial">Well, obviously I need a "libecwj2.lib".</font>
<br>
<br><font size=2 face="Arial">But I'm still confused, where/how to get
this.</font>
<br><font size=2 face="Arial">Do I have to compile the </font><tt><font size=2>ECW-SDK</font></tt><font size=2 face="Arial">
on my own? </font>
<br><font size=2 face="Arial">I'd really like to avoid this ...</font>
<br>
<br><font size=2 face="Arial">Benedikt</font>
<br>
<br><tt><font size=2>gdal-dev-bounces@lists.osgeo.org schrieb am 24.04.2008
16:47:54:<br>
<br>
> <br>
> Hello <br>
> <br>
> I'd like to build gdal 1.5.1 with ECW-Support (ECW-SDK 3.3) and MS-VC
8.0. <br>
> I get a linker-error: <br>
> u:\ws\mapserver\gdal-1.5.1\ecw\libecwj2.dll : fatal error LNK1107:
<br>
> invalid or corrupt file: cannot read at 0x290 <br>
> <br>
> I tried <br>
> http://download.osgeo.org/gdal/win32/1.5/gdalwin32exe150.zip <br>
> and <br>
> http://trac.osgeo.org/gdal/attachment/ticket/2200/libecwj2.zip?format=raw
<br>
> with the same result. <br>
> <br>
> Any advise? <br>
> Benedikt Rothe <br>
> <br>
> <br>
> lib /nologo /out:gdal.lib port\*.obj gcore\*.obj
alg\*.obj <br>
> frmts\o\*.obj ogr\ogrsf_frmts\ogrsf_frmts.lib ogr\ogr.lib vb6\vb6_support.obj<br>
> ogrsf_frmts.lib(parsexsd.obj) : warning LNK4221: no public symbols
<br>
> found; archive member will be inaccessible <br>
> <br>
> link /nologo /dll /debug /INCLUDE:_OGRFeatureStylePuller
<br>
> /INCLUDE:_OSRValidate /INCLUDE:_OPTGetProjectionMethods /INCLUDE:<br>
> _OGR_G_GetPointCount /INCLUDE:_OGRRegisterAll /INCLUDE:<br>
> _GDALSimpleImageWarp@36 /INCLUDE:_GDALReprojectImage@48 /INCLUDE:<br>
> _GDALComputeMedianCutPCT@32 /INCLUDE:_GDALDitherRGB2PCT@28 <br>
> /INCLUDE:_OCTNewCoordinateTransformation@8 /INCLUDE:<br>
> _vbSafeArrayToPtr@16 port\*.obj gcore\*.obj alg\*.obj frmts\o\*.obj
<br>
> ogr\ogrsf_frmts\ogrsf_frmts.lib ogr\ogr.lib vb6\vb6_support.obj
<br>
> odbc32.lib odbccp32.lib user32.lib u:\ws\mapserver\gdal-1.5.<br>
> 1\ecw\libecwj2.dll gcore\Version.res /out:gdal15.dll
/implib:gdal_i.lib <br>
> u:\ws\mapserver\gdal-1.5.1\ecw\libecwj2.dll : fatal error LNK1107:
<br>
> invalid or corrupt file: cannot read at 0x290 <br>
> NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio
<br>
> 8\VC\BIN\link.EXE"' : return code '0x453' <br>
> Stop. <br>
> <br>
> _______________________________________________<br>
> gdal-dev mailing list<br>
> gdal-dev@lists.osgeo.org<br>
> http://lists.osgeo.org/mailman/listinfo/gdal-dev</font></tt>