<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hi folks,<br></div><div><br></div><div>I am stepping through the OpenGL example, getting my head wrapped around it.<br></div><div><br></div><div>First thing is in OGLUnix openGLLibraryName I had to make a change for Smalltalke osVersion   to handle 'linux-gnu'.<br></div><div><br></div><div><br></div><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div><div><br></div><div>openGLLibraryName<br></div><div>^((Smalltalk osVersion = 'linux') | (Smalltalk osVersion = 'linux-gnu'))<br></div><div>ifTrue: ['libGL.so.1']<br></div><div>ifFalse: ['GL']<br></div></div></blockquote><div><br></div><div><br></div><div>All well and good.<br></div><div><br></div><div>Also, as pre-amble, I am able to set debug level via primitive call with:<br></div><div><br></div><div><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div>OpenGL primitiveSetVerboseLevel:5<br></div></blockquote></div></blockquote>with no exception/error.</div><div><br></div><div><br></div><div><br></div><div>My immediate concern is in OGLUnixX11LE >> glPixelStorei:with:<br></div><div><br></div><div><br></div><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div><div>glPixelStorei: pname with: param<br></div><div>"This method was automatically generated."<br></div><div>"void glPixelStorei(GLenum pname, GLint param);"<br></div><div><apicall: void 'glPixelStorei' (ulong long) module: '#openGLLibraryName'><br></div><div>^self externalCallFailed<br></div><div><br></div></div></blockquote><div><br></div><div>That argument module:'#openGLLibraryName' smells like an error, as if it should have been replaced by something with   'libGL.so.1'<br></div><div><br></div><div>Well, I manually replaced it in that method with the same result.<br></div><div><br></div><div>I downloaded the latest FFI-Examples package and the FFI-Unix-Examples is empty, so I cannot infer from that.<br></div><div><br></div><div><br></div><div>Is there a way I can search the image for all the <apicall: pragmas ? I may be able to find one that works and start from there.<br></div><div><br></div><div>thanks in advance.</div><div><br></div><div><br></div><div><br></div><div><br></div></div><br></body></html>