Code Comments
Programming Forum and web based access to our favorite programming groups.I know this isn't really an OpenCroquet support forum, but I believe the question that I'm pondering is really more of a generic Squeak/OpenGL problem. I downloaded the OpenCroquet preview release, and tried running some of the demos. None of them work, and it seems to be because of the following, when called on an OGLUnixX11LE: (self glGetString: GLExtensions) fromCString. When this is called, I get, Error: a primative has failed. My thinking is that the glGetString message returned an ExternalData object that pointed to NULL, but I'm not sure, and I'm unsure how to further inspect the ExternalData object. Does anyone know of a resource that I could use to help debug this OpenGL problem? I have a stock squeak 3.6 image, and the OpenGL demos worked just fine in that, so I don't believe the problem is with the host environment, but with the OpenCroquet image itself.
Post Follow-up to this messageAnthony Juckel wrote: ... > > Does anyone know of a resource that I could use to help debug this > OpenGL problem? I have a stock squeak 3.6 image, and the OpenGL demos > worked just fine in that, so I don't believe the problem is with the > host environment, but with the OpenCroquet image itself. Do You start Croquet using the contained shell script "Croquet.sh"? Do You find a link to libGL.so in the main croquet-j directory? It sounds to me, as if the OpenGL library isn't properly loaded. BTW: I could even start "Jasmine" on an old AMD-400 with Matrox MGA without problems, but far toooo slow... Shin - A.k.a. Thomas Braun
Post Follow-up to this messageOn Tue, 2004-10-12 at 16:28 +0200, Shin The Gin wrote: > Anthony Juckel wrote: > ... > > Do You start Croquet using the contained shell script "Croquet.sh"? > Do You find a link to libGL.so in the main croquet-j directory? > > It sounds to me, as if the OpenGL library isn't properly loaded. > I think I'm understanding things a little better now (but just a little). I just noticed that Croquet has the full Squeak 3.6 image included as well, and the Wonderland demo works just fine in there. I think that must just be completely software rendered, whereas Croquet is needing hardware excelleration. Now, I have GLX working just fine in my standard Linux setup, and glxinfo does indeed print out a great deal of info, including installed extensions and what not. What I'm thinking must be happening is there's an incompatability between my OpenGL libraries and whatever Croquet is expecting. As I mentioned in my first post, I'm relatively new to Squeak in general, so where could I go for more resources on how to hunt down a problem with FFI? I've already tried the obvious linking libGL.so into the directory I'm running Croquet from, etc, so I don't think Croquet is having a problem finding the .so file, just in loading it. Does anyone have any pointers for where to proceed with debugging from here?
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.