[Image-SIG] Total newbie: errors compiling PIL with VC6++

Fredrik Lundh fredrik@pythonware.com
Sun, 16 Dec 2001 21:11:05 +0100


Stani Michiels wrote:
> (33):typedef int INT32, *PINT32;
> (41):typedef unsigned int UINT32, *PUINT32;

microsoft's compiler is defining various global names which
are defined by PIL's include files.

you could try changing the order of the include statements
in libImaging/Dib.c to:

#include "ImDib.h"
#include "Imaging.h"

(I don't have VS6 handy, so I cannot sort this out myself
right now.  contributions for 1.1.3 are welcome).

</F>