[Image-SIG] Problems installing PIL

Piet van Oostrum piet@cs.uu.nl
Wed, 26 Aug 1998 17:31:32 +0200 (MDT)

>>>>> "Fredrik Lundh" <fredrik@pythonware.com> (FL) writes:

FL> What JPEG lib do you use?  Could it be a conflict between a UINT8
FL> typedef and a UINT8 define (PIL uses the latter)?

jpeg-6.a as distributed with gimp.

And yes, further experimentation shows that UINT8 is the culprit.
It is defined in the various jpeg .h files as unsigned char/char
or unsigned int (in an emergency case). It is such a twisted maze
maybe more that I can't resolve which definition is actually

I have now added this line to ImPlatform.h


and it solves the problem, but I have a slight feeling that there
should be a better solution.
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: Piet.van.Oostrum@gironet.nl