2006.09.05 18:12 "[Tiff] Building libtiff using Visual C++ 2005 Express Edition", by Stuart White
I'm attempting to build libtiff using the freely available Visual C++ 2005 Express Edition.
Following the build instructions, I've done the following:
- Modified libtiff\tiffconf.h to comment-out the entries for JPEG_SUPPORT, PIXARLOG_SUPPORT, and ZIP_SUPPORT (because, at this point, I don't have libjpeg or zlib built either).
- Executed the Visual C++ command-line environment setup script.
@"C:\Program Files\Visual Studio 2005 Express Editions\VC\vcvarsall.bat" x86
3. Changed into the libtiff directory and typed the following:
nmake /f makefile.vc clean
nmake /f makefile.vc
I receive the following error:
tif_unix.c(185): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Looking at tif_unix.c, it contains the following code:
I searched the entire installation Visual C++ 2005 Express Edition directory for windows.h, and nothing came back.
So.... my question is - has anyone successfully built libtiff using this compiler? If so, can you describe what steps you followed?