<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)"><span style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)">On Sat, Oct 27, 2018 at 4:42 PM tim Rowledge <<a href="mailto:tim@rowledge.org">tim@rowledge.org</a>> wrote:</span><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Trying this out on a Raspberry Pi (obviously). <br>
First major problem is that <br>
<br>
OGLUnix>>openGLLibraryName<br>
        ^Smalltalk osVersion = 'linux'<br>
                ifTrue: ['libGL.so.1']<br>
                ifFalse: ['GL']<br>
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.<br>
<br>
After 'fixing' that it goes on a little until we get to OpenGL>>#glMatrixMode:<br>
glMatrixMode: mode<br>
        "This method was automatically generated."<br>
        "void glMatrixMode(GLenum mode);"<br>
        <apicall: void 'glMatrixMode' (ulong) module: '#openGLLibraryName'><br>
        ^self externalCallFailed<br>
<br>
The" module: '#openGLLibraryName'>" looks a bit odd to me... shouldn't that have been recompiled to use the real library name?<br>
</blockquote><div><br></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif">Yes, but it doesn't change the source code. Follow the senders of </font>openGLLibraryName to see the magic.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">- Bert -</div></div></div></div>