[squeak-dev] [ANN] Open Croquet for Squeak 5.2 (32bit) release

Bert Freudenberg bert at freudenbergs.de
Mon Oct 29 19:26:17 UTC 2018


On Sat, Oct 27, 2018 at 4:42 PM tim Rowledge <tim at rowledge.org> wrote:

> Trying this out on a Raspberry Pi (obviously).
> First major problem is that
>
> OGLUnix>>openGLLibraryName
>         ^Smalltalk osVersion = 'linux'
>                 ifTrue: ['libGL.so.1']
>                 ifFalse: ['GL']
> has a #'' (apparently a ByteSymbol with just char value 0 in it) at the
> end of the method ; which of course a BlockClosure does not understand.
>
> After 'fixing' that it goes on a little until we get to
> OpenGL>>#glMatrixMode:
> glMatrixMode: mode
>         "This method was automatically generated."
>         "void glMatrixMode(GLenum mode);"
>         <apicall: void 'glMatrixMode' (ulong) module: '#openGLLibraryName'>
>         ^self externalCallFailed
>
> The" module: '#openGLLibraryName'>" looks a bit odd to me... shouldn't
> that have been recompiled to use the real library name?
>

Yes, but it doesn't change the source code. Follow the senders of
openGLLibraryName
to see the magic.

- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20181029/e3bd1700/attachment.html>


More information about the Squeak-dev mailing list