AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2007.08.24 21:08 "[Tiff] A few libtiff4 changes", by Frank Warmerdam
[...]
2007.10.18 13:54 "[Tiff] linking in MS Visual Studio 2005", by Jason Tillett
2007.10.18 14:37 "Re: [Tiff] linking in MS Visual Studio 2005", by Frank Warmerdam
[...]

2007.10.18 14:37 "Re: [Tiff] linking in MS Visual Studio 2005", by Frank Warmerdam

My build fails during linking with

error LNK2001: unresolved external symbol __imp_TIFFWriteEncodedStrip

and more...

I have defined the path to the tiffio.h,
path to the *.lib files and included defined the

> libtiff.lib in my list of libraries.

I'm pretty sure that since c_plusplus is defined

that the tiff library functions should not be mangled and I need help understanding the decoration with __imp_.

Jason,

This is an import stub. Are you linking with libtiff.lib or libtiff_i.lib? It may be that you need to link with libtiff_i.lib, the stub library for the libtiff.dll.

Best regards,
--
---------------------------------------+--------------------------------------

I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam

and watch the world go round - Rush    | President OSGeo, http://osgeo.org