AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2009.03.03 20:51 "[Tiff] Building Libtiff in Visual Studio under Windows?", by Steven Lehar
2009.03.03 21:04 "Re: [Tiff] Building Libtiff in Visual Studio under Windows?", by Bob Friesenhahn
2009.03.03 21:10 "Re: [Tiff] Building Libtiff in Visual Studio under Windows?", by Steven Lehar
2009.03.03 21:32 "Re: [Tiff] Building Libtiff in Visual Studio under Windows?", by Edward Lam
2009.03.04 17:15 "Re: [Tiff] Building Libtiff in Visual Studio under Windows?", by Steven Lehar
2009.03.04 17:17 "Re: [Tiff] Building Libtiff in Visual Studio under Windows?", by Steven Lehar
2009.03.04 17:22 "Re: [Tiff] Building Libtiff in Visual Studio under Windows?", by Steven Lehar
2009.03.04 17:40 "Re: [Tiff] Building Libtiff in Visual Studio under Windows?", by Steven Lehar
2009.03.03 21:40 "Re: [Tiff] Building Libtiff in Visual Studio under Windows?", by Lee Howard

2009.03.03 21:32 "Re: [Tiff] Building Libtiff in Visual Studio under Windows?", by Edward Lam

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

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:

>> 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.

>> GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/<http://www.graphicsmagick.org/>

>>
>
>
> ------------------------------------------------------------------------