Frank Warmerdam wrote:
Brent Fraser wrote:

I just did a checkout and build of GDAL, and got the following:

  Creating library gdal_i.lib and object gdal_i.exp
cpl_vsil_gzip.obj : error LNK2019: unresolved external symbol _inflateCopy referenced in function "public: class VSIGZipHandle * __thiscall VSIGZipHandle::Duplicate(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
gdal16dev.dll : fatal error LNK1120: 1 unresolved externals

Where can I find the "inflateCopy " function? Zlib? Should nmake.opt be updated to include a definition to Zlib?

Brent,

Normally I think the internal copy of zlib (gdal/frmts/zlib) should
provide that function. Is it possible you are building in an unconventional
fashion or are using an external zlib of a different version?

Best regards,

All I did was edit nmake.opt for locations of ECW, OGDI, MrSID, HDF4, and PG libs. Hmm, there are no .obj files in the frmts\zlib dir...
And the frmts\makefile.vc has:

!IFDEF OGDIDIR
EXTRAFLAGS      =       $(EXTRAFLAGS) -DFRMT_ogdi
!ELSE
EXTRAFLAGS      =       $(EXTRAFLAGS) -DFRMT_zlib
!ENDIF

I guess the zlib functions in my ogdi build are too old.  I'll look into that...

Thanks!
Brent
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to