[cells-devel] [Fwd: Re: [Fwd: I'm stuck ... pse help!]]

Frank Goenninger frank_goenninger at t-online.de
Sun Oct 24 18:37:07 UTC 2004


Kenny,

thx for quickly coming back. Seems as if we're back in chat mode ;-)

On Sun, 2004-10-24 at 20:18, Kenneth Tilton wrote:
> On Oct 24, 2004, at 11:35 AM, Frank Goenninger wrote:
> 
> > Hi Kenny,
> >
> > thx for the inputs on the window close issue.
> >
> > Unfortunately, I'm not getting this far.
> 
> I understand, but you had asked about glutSetOption, and that is a 
> Freeglut extension designed to address the window close issue. So I was 
> telling you (a) you could just *feature* it out and (b) how to survive 
> a window close /if/ we ever get that far.

Ah, now I got it. Well, sometimes I am bit slow ;-) Ok. Now, not using
glut-set-option doesn't hurt for what I'm trying to accomplish...

> 
> > It seems it was unclear from my
> > previous emails that I do not get any window even appearing!
> >
> > Any call to the glut-create-window function makes OpenMCL die, yes,
> > really die! The process is interrupted without any signs or hints on 
> > the
> > cause.
> 
> Boy, that sounds like Glut calling exit(), though of course that should 
> not happen on glutCreateWindow. There is an Apple list for OpenGL. I 
> wonder if they would have any insight. Or some of the gmane lists, 
> which seem more numerous than comp.mac.* lists.
> 
> Would it be interesting to download the Lispworks freebee and see if 
> you get the same thing there?

This is my fallback, yes. But I'm not yet that frustrated to do so ;-)

> 
> But first I would put in the code I suggested about setting up the 
> glut-wm-close-func by duplicating the glut-close-func setup. 

Sir. Yes, Sir. :-)

> And you 
> might want to put a (break) in the callabcks to see if maybe we are 
> getting further than we think. You can add the break to the macro you 
> see wrapping the code in each callback so you just have to put it one 
> place.

Sir. Yes, Sir. :-)

> 
> kenny
> 
> ps. I download Lisp In a Box for Max OS X and it seems to work right 
> out of the box, as they say. I would have a lot of Emacs to learn, but 
> I think I want to do that anyway. So maybe I will be using OpenMCL 
> shortly.... say, you included a tar last time. I just focused on the 
> glutSetOption problem. If I look at your code will I see how you loaded 
> the Apple Glut? k
> 
You will. It's in the build.lisp file. I simply do:

CL-USER > (load "config.lisp")

and then

CL-USER > (load "build.sys")

Apple GLUT loading definitions is distributed across the cl-opengl
config files (which are included also) and the glut-functions.lisp file.

As always, I have marked my changes with the string "frgo" in them. You
can search for that to find the places.

I will now be off for our weekly dancing course doing Cha-Cha and the
like. Will be back in 2 hours.

Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/cells-devel/attachments/20041024/c2a6b819/attachment.sig>


More information about the cells-devel mailing list