Dimitar Kenanov wrote:
> Hello again,
> except the problem:
>
> "I installed PDL 2.4.6 and i have the modules needed for OpenGL. But 
> when i try the "demo 3d" or "demo 3d2" i see only text. No window opens 
> in which some 3d to be seen. Another thing is that "demo Tk3d" gives 
> directly "Segmentation fault" and PDL exits."
>
> i found and these lines while doing the make test when building PDL.
> "t/opengl.t .................. 1/4 Subroutine 
> OpenGL::StructureNotifyMask redefined at 
> /home/domine/Downloads/PDL-2.4.6/blib/lib/PDL/Graphics/OpenGL/Perl/OpenGL.pm 
> line 30.
> Subroutine reshape redefined at 
> /home/domine/Downloads/PDL-2.4.6/blib/lib/PDL/Graphics/TriD/GL.pm line 
> 706, <DATA> line 387.
> t/opengl.t .................. ok 
> "
>
> Unfortunately i dont know what does it mean.
>   
It is a warning, but it is the expected behavior at the moment.  
Shouldn't be a problem.

> And more update. After playing with perldl.conf I found that the problem 
> is in POGL_WINDOW_TYPE. When set to "glut" the 3D is not working. When 
> set to "x11" is working normally.
>
> I dont know if there is some advantage of using "glut" for 
> POGL_WINDOW_TYPE but even if there is i can use it. Or i do not know how.
> Any information will be helpful.
>   
When you installed the OpenGL perl module, what libraries did it say it 
found?  Do you have glut or freeglut (and the header files)?  Freeglut 
is recommended, according to the OpenGL README.  Not having either of 
these would be a good reason why you're only able to use x11 (which is 
deprecated).  Look for /usr/lib/libglut.so or /usr/lib64/libglut.so.

Derek

> Thank you for your time
> Dimitar
>
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>   


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

Reply via email to