<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 &quot;libecwj2.lib&quot;.</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>
&gt; <br>
&gt; Hello <br>
&gt; <br>
&gt; I'd like to build gdal 1.5.1 with ECW-Support (ECW-SDK 3.3) and MS-VC
8.0. <br>
&gt; I get a linker-error: <br>
&gt; u:\ws\mapserver\gdal-1.5.1\ecw\libecwj2.dll : fatal error LNK1107:
<br>
&gt; invalid or corrupt file: cannot read at 0x290 <br>
&gt; <br>
&gt; I tried &nbsp; <br>
&gt; http://download.osgeo.org/gdal/win32/1.5/gdalwin32exe150.zip <br>
&gt; and <br>
&gt; http://trac.osgeo.org/gdal/attachment/ticket/2200/libecwj2.zip?format=raw
<br>
&gt; with the same result. <br>
&gt; <br>
&gt; Any advise? <br>
&gt; Benedikt Rothe <br>
&gt; <br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; lib /nologo /out:gdal.lib port\*.obj gcore\*.obj
alg\*.obj <br>
&gt; frmts\o\*.obj ogr\ogrsf_frmts\ogrsf_frmts.lib ogr\ogr.lib vb6\vb6_support.obj<br>
&gt; ogrsf_frmts.lib(parsexsd.obj) : warning LNK4221: no public symbols
<br>
&gt; found; archive member will be inaccessible <br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; link /nologo /dll /debug /INCLUDE:_OGRFeatureStylePuller
&nbsp;<br>
&gt; /INCLUDE:_OSRValidate &nbsp;/INCLUDE:_OPTGetProjectionMethods &nbsp;/INCLUDE:<br>
&gt; _OGR_G_GetPointCount &nbsp;/INCLUDE:_OGRRegisterAll /INCLUDE:<br>
&gt; _GDALSimpleImageWarp@36 &nbsp;/INCLUDE:_GDALReprojectImage@48 &nbsp;/INCLUDE:<br>
&gt; _GDALComputeMedianCutPCT@32 &nbsp;/INCLUDE:_GDALDitherRGB2PCT@28 &nbsp;<br>
&gt; /INCLUDE:_OCTNewCoordinateTransformation@8 /INCLUDE:<br>
&gt; _vbSafeArrayToPtr@16 port\*.obj gcore\*.obj alg\*.obj frmts\o\*.obj
<br>
&gt; ogr\ogrsf_frmts\ogrsf_frmts.lib ogr\ogr.lib vb6\vb6_support.obj &nbsp;
&nbsp; <br>
&gt; odbc32.lib odbccp32.lib user32.lib &nbsp;u:\ws\mapserver\gdal-1.5.<br>
&gt; 1\ecw\libecwj2.dll &nbsp; &nbsp;gcore\Version.res &nbsp;/out:gdal15.dll
/implib:gdal_i.lib <br>
&gt; u:\ws\mapserver\gdal-1.5.1\ecw\libecwj2.dll : fatal error LNK1107:
<br>
&gt; invalid or corrupt file: cannot read at 0x290 <br>
&gt; NMAKE : fatal error U1077: '&quot;C:\Programme\Microsoft Visual Studio
<br>
&gt; 8\VC\BIN\link.EXE&quot;' : return code '0x453' <br>
&gt; Stop. <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; gdal-dev mailing list<br>
&gt; gdal-dev@lists.osgeo.org<br>
&gt; http://lists.osgeo.org/mailman/listinfo/gdal-dev</font></tt>