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

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/