[squeak-dev] failing to build a vm on Windows

John M McIntosh johnmci at smalltalkconsulting.com
Fri Sep 17 06:02:37 UTC 2010


The original code was written for the PowerPC so  the code that moves bytes into/out of a Squeak Form is incorrect. 
The Endian is wrong. 

SqueakConvertToARGB
SqueakConvertScanRGBToARGB
SqueakConvertScanARGBToRGB

Yup all incorrect for MacIntel chips... 



On 2010-09-16, at 9:35 AM, George Herolyants wrote:

> Hi, John
> 
> 2010/9/5 John M McIntosh <johnmci at smalltalkconsulting.com>:
>> George I can't say anyone has built the TIFF plugin for maybe a decade.
>> Have you considered using the quicktime logic if you are on macintosh or windows?
>> However I can work with you to build the TIFF plugin.
>> Athought your problem might be with your image data, and the cmds you are giving to
>> the TIFF api if it fails to load the image.
> 
> I'm sorry for the late reply, I was really busy these days. And I'm
> sorry for being not clear enough in my previous messages. I've
> successfuly built TIFF plugin on Linux, and it works fine (thank you
> very much!) except inverted (I believe) colors. The "image" I
> mentioned was Smalltalk image. The windows vm built couldn't open it
> (symptoms I've described in my first message in this thread).
> 
> I'll be really glad if you provide me some guidance. What I'd like to know:
> - is it really inversion of colors (that's why I tried to build
> plugin on windows, just to check if it is platform specific
> behaviour)?
> - is there some client-side code handling byte order (I found one in
> changesForSqueak.c file, tried to modify it but failed)?
> 
> Thanks in advance,
> George

--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3829 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100916/00515ea4/smime.bin


More information about the Squeak-dev mailing list