Received: from mailgate013.isp.belgacom.be (mailgate013.isp.belgacom.be [195.238.6.6])
	by maildelivery001.isp.belgacom.be (Postfix) with ESMTP id 17B295A8025
	for <joris.at.lebbeke@skynet.be>; Thu, 18 Oct 2007 17:04:07 +0200 (CEST)
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 18 Oct 2007 17:04:06 +0200
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l9IEldEm031379;
	Thu, 18 Oct 2007 10:47:48 -0400
Received: from w2k3ses2.urmc-sh.rochester.edu (ses02.urmc.rochester.edu
	[128.151.10.28])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l9IElbgc031376
	for <tiff@lists.maptools.org>; Thu, 18 Oct 2007 10:47:37 -0400
Received: from mail pickup service by w2k3ses2.urmc-sh.rochester.edu with
	Microsoft SMTPSVC; Thu, 18 Oct 2007 10:47:36 -0400
Received: from exsmtp02.urmc-sh.rochester.edu ([128.151.10.25]) by
	W2K3SES2.urmc-sh.rochester.edu; 18 Oct 2007 10:47:30 -0500
Received: from jctx64 ([172.18.52.163]) by exsmtp02.urmc-sh.rochester.edu with
	Microsoft SMTPSVC(6.0.3790.1830); Thu, 18 Oct 2007 10:47:30 -0400
Message-ID: <CB587ECD9841412797BFA1A6B060876D@jctx64>
From: "Jason Tillett" <jasonpop@netsup.net>
To: "Frank Warmerdam" <warmerdam@pobox.com>
Subject: Re: [Tiff] linking in MS Visual Studio 2005
Date: Thu, 18 Oct 2007 10:47:32 -0400
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
	reply-type=response
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.3790.3959
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4133
X-OriginalArrivalTime: 18 Oct 2007 14:47:30.0372 (UTC)
	FILETIME=[CF2D7040:01C81195]
X-PRIVAWALL-ID: 00145e0b7c32_236c041
X-MIME-Autoconverted: from quoted-printable to 8bit by duke.maptools.org id
	l9IElbgc031376
Cc: libtiff <tiff@lists.maptools.org>
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
Content-Transfer-Encoding: quoted-printable
X-UIDL: 000000000023ceae.0000284a
X-MSP-STORE: Thu, 18 Oct 2007 17:04:07 +0200
Status: RO

Thank You.

I am linking with libtiff.lib.
There is no libtiff-i.lib present in my GnuWin32\lib directory.

I have used this library before on a 32 bit
windows 2000 box and am now trying to incorporate it into a code
on a windows xp 64 box.

On my 32 bit box, there is a libtiff-i.lib file and that is the library
I linked on that box.

Jason

> ----- Original Message -----=20
> From: "Frank Warmerdam" <warmerdam@pobox.com>
> To: "Jason Tillett" <jasonpop@netsup.net>
> Cc: <tiff@lists.maptools.org>
> Sent: Thursday, October 18, 2007 10:37 AM
> Subject: Re: [Tiff] linking in MS Visual Studio 2005
>
>
>> Jason Tillett wrote:
>>> My build fails during linking with
>>>
>>> error LNK2001: unresolved external symbol __imp_TIFFWriteEncodedStrip
>>> and more...
>>>
>>> I have defined the path to the tiffio.h,
>>> defined the path to the *.lib files and included
>>> 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, th=
e
>> stub library for the libtiff.dll.
>>
>> Best regards,
>> --=20
>> ---------------------------------------+------------------------------=
--------
>> I set the clouds in motion - turn up   | Frank Warmerdam,=20
>> warmerdam@pobox.com
>> light and sound - activate the windows | http://pobox.com/~warmerdam
>> and watch the world go round - Rush    | President OSGeo,=20
>> http://osgeo.org
>>
>> _______________________________________________
>> Tiff mailing list: Tiff@lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/tiff
>> http://www.remotesensing.org/libtiff/
>=20


_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
