iSina has asked for the wisdom of the Perl Monks concerning the following question:

Hello,

I am trying to use glpOpenWindow but it gives the following error:
Can't locate auto/OpenGL/glpcOpenWin.al in @INC (@INC contains: C:/Per +l/site/lib C:/Perl/lib .) at C:\deneme.plx line 3111 <ButtonRelease-1> (command bound to event)

Also when I launch a regular opengl window using a perltk widget, the perltk interface becomes awfully slow and laggy (even with a bare opengl window with no model in it). What may be the reason for this?

Thanks alot

Replies are listed 'Best First'.
Re: glpOpenWindow Problem
by syphilis (Archbishop) on Jul 22, 2008 at 19:11 UTC
    Looking at OpenGL.xs in the source, it seems that glpcOpenWindow (which is called by glpOpenWindow) is available only if HAVE_GLpc is defined - and I don't think that symbol is defined on Windows. The error message you see arises simply because the glpcOpenWindow function cannot be found. (I get the same as you when I call glpOPenWindow on Windows Vista.)

    Probably worth seeking clarification about this on the POGL mailing list. If glpcOpenWindow is being made unavailable by design, then one would think that glpOpenWindow should likewise be made unavailable.

    Cheers,
    Rob
Re: glpOpenWindow Problem
by moritz (Cardinal) on Jul 22, 2008 at 18:46 UTC
    It sounds like a broken installation. How did you install glpOpenWindow? Did all tests succeed? Is there a glpcOpenWin.al file anywhere on your system?
      I was hoping that it would come with Perl OpenGL as it was included in an example using it. I think I will try to clear this from the mail list as rob said. Do you know of any other way to embed an opengl window to perltk interface? Thanks