[squeak-dev] Re: Re: building Cog / FFiPrims plgin on windows

Alain_Rastoul alr.dev at free.fr
Mon Nov 1 02:16:39 UTC 2010


I didn"t understood your last message there was not toolchain here .. this 
turn to be an obsession ;-).
but  it is interesting, the last build of cog/ff has the same problem than 
my build:

When I evaluate Win32Window class>>coloredEllipses
I have SmallInteger(Object)>>doesNotUnderstand: #getHDCDuring:

Win32Window getFocus evaluates to a integer handle, not a Win32Window.
:o(


Regards,

Alain


"Alain_Rastoul" <alr.dev at free.fr> a écrit dans le message de news: 
iakprr$ln1$1 at dough.gmane.org...
> Thank you Levente
>
> I've loaded FFI with monticello repository from the place you mentioned.
> I didn't know that the cygwin toolchain was here, I download it and I'll 
> try again.
>
> Thanks again
>
> Alain
>
> "Levente Uzonyi" <leves at elte.hu> a écrit dans le message de news: 
> Pine.LNX.4.64.1010311926070.22213 at login03.caesar.elte.hu...
>> On Sun, 31 Oct 2010, Alain_Rastoul wrote:
>>
>>> Thanks Levente,
>>> I have seen lot of discussions about alien FFI, is it what you are 
>>> talking
>>> about ?
>>> or is there another Cog FFI package somewhere else ?
>>
>> For building CogVM you should use the existing plugin code in the Cog 
>> VMMaker image (so don't load anything there).
>> To use FFI you should load the code available at 
>> http://source.squeak.org/FFI .
>> Cog FFI is not Alien FFI, AFAIK it's a modified/extended version of the 
>> original FFI.
>>
>>>
>>> Just to mention it, I had to modify some (few minors) incorrect
>>> declarations in sq.h, HostWindowPlugin.h and sqWin32Backtrace.c in order 
>>> to
>>> compile
>>> with gcc 4.5.
>>
>> I doubt anyone tested it using gcc 4.5, so there may be problems. The 
>> "official" windows build uses gcc 3.4.4. You can get the current latest 
>> build here: http://www.mirandabanda.org/files/Cog/VM/VM.r2316/cogwin.zip 
>> .
>>
>>
>> Levente
>>
>> snip
>>
>>
>
>
>
>
> 






More information about the Squeak-dev mailing list