<br><tt><font size=2>> Well, obviously I need a "libecwj2.lib".
<br>
> But I'm still confused, where/how to get this. <br>
> Do I have to compile the ECW-SDK on my own? <br>
</font></tt>
<br><tt><font size=2>Finally I succeed.</font></tt>
<br>
<br><font size=2 face="sans-serif">I did compile the </font><tt><font size=2>ECW-SDK</font></tt><font size=2 face="sans-serif">.</font>
<br><font size=2 face="sans-serif">And for this one I needed "Microsoft
Platform SDK for Windows Server 2003 R2" ...</font>
<br>
<br><font size=2 face="sans-serif">I don't know about the legal issues.
Would it be possible to distribute </font><tt><font size=2>libecwj2.lib</font></tt>
<br><font size=2 face="sans-serif">in http://download.osgeo.org/gdal/win32/1.5/gdalwin32ecw150.zip?</font>
<br>
<br><font size=2 face="sans-serif">Ain't easy</font>
<br><font size=2 face="sans-serif">Benedikt</font>
<br>
<br>
<br><tt><font size=2>gdal-dev-bounces@lists.osgeo.org schrieb am 25.04.2008
09:32:08:<br>
<br>
> <br>
> Ups! I tried to link a DLL! <br>
> Well, obviously I need a "libecwj2.lib". <br>
> <br>
> But I'm still confused, where/how to get this. <br>
> Do I have to compile the ECW-SDK on my own? <br>
> I'd really like to avoid this ... <br>
> <br>
> Benedikt <br>
> <br>
> 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 <br>
> 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<br>
> _______________________________________________<br>
> gdal-dev mailing list<br>
> gdal-dev@lists.osgeo.org<br>
> http://lists.osgeo.org/mailman/listinfo/gdal-dev</font></tt>