Re: [squeak-dev] Squeak Oversight Board minutes – 10/18/11

Levente Uzonyi leves at elte.hu
Thu Oct 20 22:58:06 UTC 2011


On Thu, 20 Oct 2011, Casimiro de Almeida Barreto wrote:

> Em 20-10-2011 15:45, Eliot Miranda escreveu:
>>
>> What happens when you run a VM downloaded from
>> http://www.mirandabanda.org/files/Cog/VM/VM.r2502/, e.g. coglinux.tgz
>> <http://www.mirandabanda.org/files/Cog/VM/VM.r2502/coglinux.tgz> instead
>> of one you build yourself?
>>
>>
>>
>> --
>> best,
>> Eliot
>>
>
> Ok, then I have:
>
> Smalltalk getSystemAttribute: 1009
> Now returns correct version (r2502).
>
> Accented characters wont work (as expected from previous e-mails).
>
> Compiler recompileAll wont crash VM (as expected)
>
> OpenGL example still wont work: external module not found:
>
> OGLUnixLE(OpenGL)>>glPixelStorei:with:
> glPixelStorei: pname with: param
>    "This method was automatically generated."
>    "void glPixelStorei(GLenum pname, GLint param);"
>    <apicall: void 'glPixelStorei' (ulong long) module: 'opengl32.dll'>
>    ^self externalCallFailed
>
> Interesting thing is that it's trying to open a opengl32.dll (ms win32)
> while in the "standard VM version" FFI works correctly... I'll
> investigate more about this...
>

It's not trying to open opengl32.dll. The first line of OpenGL >> 
#initialize is a hack, which rewrites all methods behind the scene to use 
the platform's library name. The library names are defined in the 
subclasses of OpenGL. Look for #openGLLibraryName.


Levente



More information about the Squeak-dev mailing list