[Image-SIG] problems compiling pil
mich at anorg.net
Sat Apr 1 18:19:24 CEST 2006
all I have done was fallowing the instrucions on
it all worked fine without giving any errors. even the selftest.py gave no
exept that it detected that there is no jpeg lib which I have not
installed. if the runtime lib is the file python24.a it should be linked
against the same lib, because thats the lib I have created fallowing the
thanks for any help
> michael gross wrote:
>> I have compiled pil with the mingw32 compiler with the fallowing commands
>> setup.py build --compiler=mingw32
>> setup.py install --skip build
>> it all seemd to work ok but if I try to save an image I get the fallowing
>> Traceback (most recent call last):
>> File "C:\Dokumente und
>> Einstellungen\mich23\Desktop\python_test_code\test.py", line 4, in
>> File "C:\Python24\Lib\site-packages\PIL\Image.py", line 1305, in save
>> save_handler(self, fp, filename)
>> File "C:\Python24\Lib\site-packages\PIL\BmpImagePlugin.py", line 236,
>> ImageFile._save(im, fp, [("raw", (0,0)+im.size, 0, (rawmode, stride,
>> File "C:\Python24\Lib\site-packages\PIL\ImageFile.py", line 489, in
>> s = e.encode_to_file(fh, bufsize)
>> IOError: (0, 'Error')
>> does anyone have an idea why this happens.
>> I have not installed the jpeg decoder. is this the reason for this error?
>> I get the same error when I try to use the im.show methode.
> a possible cause is that you're mixing runtime libraries. can you
> Python and the _imaging PYD are both linked against the same runtime lib ?
> Image-SIG maillist - Image-SIG at python.org
More information about the Image-SIG