Henning Glawe wrote:
> 
>> For what its worth, TriD uses the glutMainLoopEvent() to pump the GUI
>> events.  GLUT does not have that function which is why nothing is
>> being pumped and no mouse/resize response.
> 
> thanks for the hint; my patch for Makefile.PL checks now for this symbol in
> the header.

Thanks for the patch.  I've tested it out and nothing breaks
on cygwin or win32 and by inspection it appears it may address
other reported problems of the same ilk.  One thought, don't
you need to define HAVE_FREEGLUT_H also?  If you have it and
are linking to the FreeGLUT library then that is the right
thing to do---even if there is a glut.h link to freeglut.h.

--Chris

>> The good news: this is a known problem with OpenGL configuration but
>> it will not be fixed before PDL-2.4.5 is released.  It was all I could
>> do to get the HAVE_FREEGLUT_H ifdef in the code...
> 
> most probably, the problem is solved by the patch. hope I don't break
> anything on platforms I don't have access to.

Looks good and checks out so far.  I would appreciate hearing
from you whether changing the $DEFS assignment to:

   $DEFS .= " -DHAVE_FREEGLUT -DHAVE_FREEGLUT_H";

works ok as well.  That seems like it might address some of the
other freeglut.h include file problems that have been seen.

Thanks again,
Chris

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to