> On Fri, Oct 23, 2009 at 10:31:30AM -0400, Chris Marshall wrote:
> > Henning Glawe writes:
> > > In case of 'glut', I found two problems:
> > >
> > >  - no mouse interaction with the scene
> > >  - window not resizable
> > [...]
> > * What version of FreeGLUT are you using?
>
> freeglut3-dev 2.4.0-8

Good so far...

> > * Could you please send the OpenGL-0.60/Config.pm file?
>
> $OpenGL::Config = {
>   'NAME' => 'OpenGL',
>   'LIBS' => '-L/usr/lib -L/usr/local/lib -lGL -lglut -lGLU -lXext -lXmu -lXi 
> -lICE -lX11 -lm',
>   'INC' => '-I/usr/include -I/usr/local/include',
>   'AUTHOR' => 'Bob \'grafman\' Free <grafman at graphcomp.com>',
>   'DEFINE' => '-DHAVE_VER -DHAVE_GL -DHAVE_GLU -DHAVE_GLUT -DHAVE_GLX 
> -DGL_GLEXT_LEGACY',

This indicates that the OpenGL build did not find the correct FreeGLUT
combination.  Since runtime error was from FreeGLUT, my guess is that
you have both glut.h and freeglut.h on your system.  Try editing the
OpenGL Makefile and adding -DHAVE_FREEGLUT_H and see if things go better.

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.

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...

Thanks for the data points,
Chris
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to