[Image-SIG] Problems installing PIL
Piet van Oostrum
Wed, 26 Aug 1998 17:31:32 +0200 (MDT)
>>>>> "Fredrik Lundh" <firstname.lastname@example.org> (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
of #ifdef CHAR_UNSIGNED/CHAR_IS_UNSIGNED/HAS_UNSIGNED_CHAR and
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 <email@example.com>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: Piet.van.Oostrum@gironet.nl