[Image-SIG] VC++ 6.0 and makefile.win
Jim Julian
julian@preferred.com
Sun, 23 Feb 2003 14:05:46 -0500
Hi,
Recently I downloaded PIL 1.1.3 to compile with Radiance file format
support.
When I compiled the library, I got the errors below. As a safety check,
I downloaded and attempted to compile version 1.1.2 and attempted a compile
without any modification. The same errors occurred. The makefile.win
comments
state compatibility with VC++ 4.X and 5.0. I'm using 6.0. Any suggestions?
Thanks,
Jim Julian
----------------------------------------------------------------------------
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl.exe -W3 -Ox -O2 -c -MD -nologo -I../kits -I../kits -I../kits
/c Dib.c
Dib.c
D:\MICROS~1\VC98\INCLUDE\basetsd.h(33) : <---- VC file
error C2632: 'int' followed by 'int' is illegal
basetsd.h(33) : error C2059: syntax error : ','
basetsd.h(41) : warning C4114: same type qualifier used more than once
basetsd.h(41) : error C2632: 'int' followed by 'int' is illegal
basetsd.h(41) : error C2059: syntax error : ','
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
----------------------------------------------------------------------------
line 33: typedef int INT32, *PINT32;
line 41: typedef unsigned int UINT32, *PUINT32;
----------------------------------------------------------------------------