Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-j.b-one.net (mx-j.one.com [91.198.169.57])
	by mail9.b-one.net (Postfix) with ESMTP id 2BF45400107
	for <info@awaresystems.be>; Tue,  3 Mar 2009 22:58:23 +0100 (CET)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=6 tests=[none]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-j.b-one.net (Postfix) with ESMTP id 675584A7AE8
	for <info@awaresystems.be>; Tue,  3 Mar 2009 22:58:22 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 37CF41D38CCF1;
	Tue,  3 Mar 2009 16:57:37 -0500 (EST)
Received: from mail.sidefx.com (mail.sidefx.com [38.99.137.163])
	by lists.maptools.org (Postfix) with ESMTP id CD2C21D38CCA4
	for <tiff@lists.maptools.org>; Tue,  3 Mar 2009 16:32:42 -0500 (EST)
Message-ID: <49ADA1FC.6070509@sidefx.com>
Date: Tue, 03 Mar 2009 16:32:44 -0500
From: Edward Lam <edward@sidefx.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Steven Lehar <slehar@gmail.com>
References: <30309f9e0903031251u3d10aae8hfe2cc606ce48a15e@mail.gmail.com>	<Pine.SOC.4.64.0903031503290.1127@freddy.simplesystems.org>
	<30309f9e0903031310w3b2a2251gdaccf66d77d66e5a@mail.gmail.com>
In-Reply-To: <30309f9e0903031310w3b2a2251gdaccf66d77d66e5a@mail.gmail.com>
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] Building Libtiff in Visual Studio under Windows?
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
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: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

For Windows, I suggest just building libtiff yourself from source using 
nmake. See:

http://www.remotesensing.org/libtiff/build.html#PC

It seems rather backwards to me to use gcc on Windows unless you 
absolutely have to when you have access to such a great debugger like 
Visual Studio.

Regards,
-Edward

Steven Lehar wrote:
> Wow! Thanks for the very prompt reply! And thanks for identifying my
> problem!
> 
> So could I do it by installing Cygwin and using the Makefiles? (I used to do
> Unix in the olden days)
> 
>   Steve
> 
> On Tue, Mar 3, 2009 at 4:04 PM, Bob Friesenhahn <
> bfriesen@simple.dallas.tx.us> wrote:
> 
>> On Tue, 3 Mar 2009, Steven Lehar wrote:
>>
>>  Hi,
>>> I'm having trouble building Libtiff in Windows, both on a win32 XP
>>> machine,
>>> and also on a 64-bit Vista machine. I have the same problem on both
>>> machines. Maybe I'm making a simple mistake. Can somebody help me?
>>>
>>> I downloaded the Windoz binaries from
>>> http://gnuwin32.sourceforge.net/packages/tiff.htm (maybe this is the
>>> problem
>>> for my 64-bit Vista machine, although it SHOULD work, but thats why I
>>> tried
>>> again with my win32 XP machine) and installed it at
>>>
>>> (making sure to have a "TestImage.tif" in the local folder). But when I
>>> tried to build, I got:
>>>
>>> Linking...
>>> LINK: Fatal error LNK1104: Cannot open file 'C:\Program Files
>>> (x86)\GnuWin32\lib\libtiff.lib;'
>>>
>>> What am I doing wrong?
>>>
>> You have downloaded a library built by GCC for use with GCC.  Visual Studio
>> can not use GCC libraries.
>>
>> Bob
>> --
>> Bob Friesenhahn
>> bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
>> GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/<http://www.graphicsmagick.org/>
>>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/

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