Received: from mailgate002.isp.belgacom.be (mailgate002.isp.belgacom.be [195.238.6.87])
	by maildelivery001.isp.belgacom.be (Postfix) with ESMTP id 6BF4E5A8008
	for <joris.at.lebbeke@skynet.be>; Fri, 25 Apr 2008 19:19:56 +0200 (CEST)
Authentication-Results: in.mx.skynet.be; dkim=permerror (body hash did not verify [final] [TEST]) header.i=@gmail.com
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 25 Apr 2008 19:19:55 +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 m3PGqFZW022621;
	Fri, 25 Apr 2008 12:53:56 -0400
Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m3PGqC7J022615
	for <tiff@lists.maptools.org>; Fri, 25 Apr 2008 12:52:13 -0400
Received: by fk-out-0910.google.com with SMTP id 19so5019791fkr.5
	for <tiff@lists.maptools.org>; Fri, 25 Apr 2008 09:52:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type;
	bh=DXR6yLSeThWWKRypfCSwKsYmhL6Anh6NyDa/2tmdMtE=;
	b=TzGQzgABIWW2xnOfqLpiPkMVwq+hRSQ5iJ3bU9V+oh418uBIjiMbSLXbKaR8eI5JY2eKm7IhQXF9nad08LQrHG1sncAn3oJ2KHSAdYGvZ1dZHUBGIYVRoFUe/XMS6e7la+ynY4T4WmexbhyFMU12f80wCG99EzpHhgv7h1Nknmo=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:mime-version:content-type;
	b=wac9rdjpIJ7V0sYL9jj789ot2IG+3cQTvjU2PlJTrTuB53OTb5Sschn5/abS37ljJhrn9D6GcReY9T6BLkL1sMKh6OfBAlXKHSzR839ECbOkgIEdo4/+AAOcE7ixwMmbo+icnAzKvLGIs6344Qu4EtKKEW1n0qoDmCngbOTSINE=
Received: by 10.82.126.1 with SMTP id y1mr3089513buc.20.1209142329689;
	Fri, 25 Apr 2008 09:52:09 -0700 (PDT)
Received: by 10.82.153.8 with HTTP; Fri, 25 Apr 2008 09:52:09 -0700 (PDT)
Message-ID: <26a0ca3c0804250952w2639f075i9d970c028baed20e@mail.gmail.com>
Date: Fri, 25 Apr 2008 22:22:09 +0530
From: "Vinay Ramdas" <vinayramdas@gmail.com>
To: tiff@lists.maptools.org
MIME-Version: 1.0
Subject: [Tiff] linker problem
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>
Content-Type: multipart/mixed; boundary="===============1234612638=="
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00002c41
X-MSP-STORE: Fri, 25 Apr 2008 19:18:45 +0200
Status: RO

--===============1234612638==
Content-Type: multipart/alternative; 
	boundary="----=_Part_3857_27988124.1209142329686"

------=_Part_3857_27988124.1209142329686
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

I am trying to build a dll using libtiff. My sources file has the following
entry

TARGETLIBS=  $(TARGETLIBS)              \
                $(SDK_LIB_PATH)\libtiff_i.lib    \

When i try to build i get the following errors

error LNK2019: unresolved external symbol __TIFFfree@4 referenced in
function _save_to_tif@4
error LNK2019: unresolved external symbol _TIFFWriteScanline@16 referenced
in function _save_to_tif@4
error LNK2019: unresolved external symbol _TIFFDefaultStripSize@8 referenced
in function _save_to_tif@4
error LNK2019: unresolved external symbol __TIFFmalloc@4 referenced in
function _save_to_tif@4
error LNK2019: unresolved external symbol _TIFFScanlineSize@4 referenced in
function _save_to_tif@4
error LNK2019: unresolved external symbol _TIFFOpen@8 referenced in function
_save_to_tif@4

dumpbin.exe /exports C:\libtiff_i.lib gives me ( I am pasting only output
related to the above functions )

 _TIFFSetField
 _TIFFOpen
 _TIFFDefaultStripSize
 _TIFFScanlineSize
_TIFFWriteScanline
 __TIFFFree
 __TIFFmalloc


Interestingly, I have also used the function TIFFSetField in the function
save_to_tif and that does not come up in the linker error.
Any ideas what the problem could be ? Please help.


-Vinay

------=_Part_3857_27988124.1209142329686
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,<br><br>I am trying to build a dll using libtiff. My sources file has the following entry <br><br>TARGETLIBS=&nbsp; $(TARGETLIBS)&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; \<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(SDK_LIB_PATH)\libtiff_i.lib&nbsp;&nbsp;&nbsp; \<br><br>When i try to build i get the following errors<br>
<br>error LNK2019: unresolved external symbol __TIFFfree@4 referenced in function _save_to_tif@4<br>error LNK2019: unresolved external symbol _TIFFWriteScanline@16 referenced in function _save_to_tif@4<br>error LNK2019: unresolved external symbol _TIFFDefaultStripSize@8 referenced in function _save_to_tif@4<br>
error LNK2019: unresolved external symbol __TIFFmalloc@4 referenced in function _save_to_tif@4<br>error LNK2019: unresolved external symbol _TIFFScanlineSize@4 referenced in function _save_to_tif@4<br>error LNK2019: unresolved external symbol _TIFFOpen@8 referenced in function _save_to_tif@4<br>
<br>dumpbin.exe /exports C:\libtiff_i.lib gives me ( I am pasting only output related to the above functions )<br><br>&nbsp;_TIFFSetField<br>&nbsp;_TIFFOpen<br>&nbsp;_TIFFDefaultStripSize<br>&nbsp;_TIFFScanlineSize<br>_TIFFWriteScanline<br>&nbsp;__TIFFFree<br>
&nbsp;__TIFFmalloc<br><br><br>Interestingly, I have also used the function TIFFSetField in the function save_to_tif and that does not come up in the linker error.&nbsp; <br>Any ideas what the problem could be ? Please help.<br><br>
<br>-Vinay<br>

------=_Part_3857_27988124.1209142329686--

--===============1234612638==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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