Message: Re: Mac OS X Update 10.5.7 breaks Open Inventor Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Mac OS X Update 10.5.7 breaks Open Inventor 

Forum: Visualization
Re: Warning Mac OS X Update 10.5.7 breaks Open Inventor (Tom Roberts)
Date: May 26, 08:42
From: Guy Barrand <Guy Barrand>

  Hello Tom

 This sound familiar...

 I strongly suspect that the 10.5.7 comes with a XQuartz 2.3.2.

 If so then you fall on the same problem I had when updating some time ago
my XQuart 1.<something> to 2.3.2.

 I suspect too that you are working with Coin3D... 

 It appears that in :
       Coin3d/gl.c / cc_glglue_instance(int contextid)
 coin people do a : 
        gi->versionstr = (const char *)glGetString(GL_VERSION);
 and that the brand new bugged Apple GL, is bugged in the internal GL error system
 in such a way that the GL_error is set to GL_INVALID_OPERATION at startup and not
 reset to something valid by the glGetString(GL_VERSION) (that returns something 
 correct for me !). And then the second assert :
    assert(gi->versionstr && "could not call glGetString() -- no current GL context?");
    assert(glGetError() == GL_NO_ERROR && "GL error when calling glGetString() -- no current GL context?");
 will not pass.

  What I have done in my CoinGL code embedded in OSC is that before the call
to : glGetString(GL_VERSION), I have put a :
             glGetError();
that clearly initialize the internal GL error flag. And with that think are ok for me with XQuartz 2.3.2.

 If you have reconstructed Coin3D from source, you can attempt this patch...

 Well, a bad point for me is that... I have still in my joblist to report to Coin people !
 (Perhaps time now to do it !)
 (Not sure I have the courage to find the way to report to Apple...)

   Cheers

     Guy

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Mac OS X Update 10.5.7 breaks Open Inventor   (John Allison - May 27, 08:16)
 Add Message Add Message
to: "Re: Mac OS X Update 10.5.7 breaks Open Inventor"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]