2006.09.06 09:28 "Re: [Tiff] Building libtiff using Visual C++ 2005 Express Edition", by Stuart White
On 9/6/06, Anurag Singh <email@example.com> wrote:
one thing more which version of libtiff your using...in latest version tif_unix.c have not include windows.h.
in latesr version there's just two file tif_win3.c and tif_win32.c includes windows.h.
According to http://www.remotesensing.org/libtiff/ the latest version is 3.8.2, which is the version I'm using. And, unless I'm missing something, tif_unix.c does indeed include windows.h. Is there a later release I'm not aware of?
To summarize the solution to this problem:
1. I needed to download the Platform SDK 2. In Visual C++ 2005 Express Edition, even if you add additional include and lib folders in the IDE, those settings don't take effect in the command-line. You must manually edit vsvars32.bat to set the environment variables INCLUDE and LIB to include the additional SDK directories. The post by Mateusz Loskot above describes this process.
Thanks everyone for your help!