2004.08.27 05:40 "[Tiff] install error", by poom

2004.08.27 14:42 "Re: [Tiff] install error", by Frank Warmerdam

Now I just downloaded source zip file and have been extracted it. But when i want to install by this command ,I got this message and install process is stopped.

-------------------------------------------------------------------
C:\tiff-3.6.1-2-src\src\tiff\3.6.1\tiff-3.6.1\libtiff>nmake /f makefile.vc
all

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl mkversion.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

mkversion.c
mkversion.c(36) : fatal error C1034: stdio.h: no include path set
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
--------------------------------------------------------------------

Please tell me the way to correct this problem,now I really have no idea to do.

Poom,

Normally to use VC++ at the commandline you need to run a .bat file to setup all the appropriate environment variables. In VC 6.x the script is in the VC98/bin subdirectory and is called VCVARS32.BAT. Have you run this? It should the INCLUDE environment variable which will define a path to the system include files like stdio.h.

Good luck,

---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent