Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

OpenCroquet (really OpenGL) problem on Linux
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.


Report this thread to moderator Post Follow-up to this message
Old Post
Anthony Juckel
10-12-04 08:58 PM


Re: OpenCroquet (really OpenGL) problem on Linux
Anthony  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


Report this thread to moderator Post Follow-up to this message
Old Post
Shin The Gin
10-12-04 08:58 PM


Re: OpenCroquet (really OpenGL) problem on Linux
On 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?



Report this thread to moderator Post Follow-up to this message
Old Post
Anthony W. Juckel
10-13-04 01:57 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Smalltalk archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:55 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.